Ticket #61115: use-darwin-compat.diff

File use-darwin-compat.diff, 528 bytes (added by ballapete (Peter "Pete" Dyballa), 4 years ago)

Patch for npth to use the two addtional Darwin compitability files

  • src/Makefile.am

    old new  
    3131endif
    3232
    3333libnpth_la_SOURCES = npth.h npth.c npth-sigev.c
     34libnpth_la_SOURCES += darwin_compat.h darwin_compat.c
    3435
    3536# AM_CPPFLAGS =
    3637# AM_CFLAGS =
  • src/npth.c

    old new  
    6363  return 0;
    6464}
    6565#else
    66 # include <semaphore.h>
     66# include "darwin_compat.h"
    6767#endif
    6868#ifdef HAVE_UNISTD_H
    6969# include <unistd.h>