aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Gregan <[email protected]>2012-08-13 21:28:44 +1200
committerMatthew Gregan <[email protected]>2012-08-13 21:28:44 +1200
commitfa7cf6ecfe1a082cd255569172a62a3df3122fee (patch)
treee362c836937cc1fe681c9c51e9e215d88c10f48d
parent15dcc9b31baddd1d301d30d4cce5c4698036fe7f (diff)
downloadcubeb-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.c2
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>