diff options
Diffstat (limited to 'src/libezxml/ezxml.c')
-rw-r--r-- | src/libezxml/ezxml.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libezxml/ezxml.c b/src/libezxml/ezxml.c index e0b5a15..ced87ea 100644 --- a/src/libezxml/ezxml.c +++ b/src/libezxml/ezxml.c @@ -24,6 +24,7 @@ #ifndef __FreeBSD__ #define _BSD_SOURCE /* required by strdup() */ +#define _DARWIN_C_SOURCE /* required by strdup() on OS X */ #endif #include <stdlib.h> |