aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Gregan <[email protected]>2012-08-06 16:53:58 +1200
committerMatthew Gregan <[email protected]>2012-08-06 16:53:58 +1200
commit15dcc9b31baddd1d301d30d4cce5c4698036fe7f (patch)
tree899d0d40cc73c04d702b0cce5177a080de8e2a28
parent697b5c1279bf723d93b9d5f08e1fec6a6382bb77 (diff)
downloadcubeb-15dcc9b31baddd1d301d30d4cce5c4698036fe7f.tar.gz
cubeb-15dcc9b31baddd1d301d30d4cce5c4698036fe7f.zip
alsa: define _POSIX_C_SOURCE directly to fix a BSD build issue. fixes issue #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 d7235b6..d32d875 100644
--- a/src/cubeb_alsa.c
+++ b/src/cubeb_alsa.c
@@ -6,7 +6,7 @@
*/
#undef NDEBUG
#define _BSD_SOURCE
-#define _POSIX_SOURCE
+#define _POSIX_C_SOURCE 199309L
#include <pthread.h>
#include <sys/time.h>
#include <assert.h>