diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-07-13 17:33:25 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-07-14 17:24:57 +0200 |
commit | 71774028f08edd8ff70f0afd7617ee0cd76d30c8 (patch) | |
tree | 7535c0b96b8523aeef7bf3f7a2a62b731322bce7 /src/libezxml | |
parent | f1f0e46cd1c50c04ac71fa61a03b728d99580ef6 (diff) | |
download | pianobar-windows-71774028f08edd8ff70f0afd7617ee0cd76d30c8.tar.gz pianobar-windows-71774028f08edd8ff70f0afd7617ee0cd76d30c8.tar.bz2 pianobar-windows-71774028f08edd8ff70f0afd7617ee0cd76d30c8.zip |
Defined _DARWIN_C_SOURCE
Required to expose non-standard functions. Closes #138
Diffstat (limited to 'src/libezxml')
-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> |