diff options
Diffstat (limited to 'src/libpiano/piano.c')
-rw-r--r-- | src/libpiano/piano.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libpiano/piano.c b/src/libpiano/piano.c index 34be389..addb988 100644 --- a/src/libpiano/piano.c +++ b/src/libpiano/piano.c @@ -23,6 +23,7 @@ THE SOFTWARE. #ifndef __FreeBSD__ #define _BSD_SOURCE /* required by strdup() */ +#define _DARWIN_C_SOURCE /* strdup() on OS X */ #endif #include <stdio.h> |