diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -24,6 +24,7 @@ THE SOFTWARE. #ifndef __FreeBSD__ #define _POSIX_C_SOURCE 1 /* fileno() */ #define _BSD_SOURCE /* strdup() */ +#define _DARWIN_C_SOURCE /* strdup() on OS X */ #endif /* system includes */ |