Commit f4cccde5 authored by Felix Paul Kühne's avatar Felix Paul Kühne

fixups: hack to fix compilation on Darwin since the autotools incorrectly flag dirfd as undefined

parent 12132ced
......@@ -173,6 +173,9 @@ pid_t getpid (void);
/* dirent.h */
#ifndef HAVE_DIRFD
#ifdef __APPLE__
#undef dirfd
#endif
int dirfd (DIR *);
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment