diff options
author | Matthew Gregan <[email protected]> | 2012-08-13 21:28:44 +1200 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2012-08-13 21:28:44 +1200 |
commit | fa7cf6ecfe1a082cd255569172a62a3df3122fee (patch) | |
tree | e362c836937cc1fe681c9c51e9e215d88c10f48d | |
parent | 15dcc9b31baddd1d301d30d4cce5c4698036fe7f (diff) | |
download | cubeb-fa7cf6ecfe1a082cd255569172a62a3df3122fee.tar.gz cubeb-fa7cf6ecfe1a082cd255569172a62a3df3122fee.zip |
alsa: second attempt: define _XOPEN_SOURCE to fix a BSD build issue. fixes #6.
-rw-r--r-- | src/cubeb_alsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cubeb_alsa.c b/src/cubeb_alsa.c index d32d875..101d65a 100644 --- a/src/cubeb_alsa.c +++ b/src/cubeb_alsa.c @@ -6,7 +6,7 @@ */ #undef NDEBUG #define _BSD_SOURCE -#define _POSIX_C_SOURCE 199309L +#define _XOPEN_SOURCE 500 #include <pthread.h> #include <sys/time.h> #include <assert.h> |