diff options
author | Matthew Gregan <[email protected]> | 2012-08-06 16:53:58 +1200 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2012-08-06 16:53:58 +1200 |
commit | 15dcc9b31baddd1d301d30d4cce5c4698036fe7f (patch) | |
tree | 899d0d40cc73c04d702b0cce5177a080de8e2a28 | |
parent | 697b5c1279bf723d93b9d5f08e1fec6a6382bb77 (diff) | |
download | cubeb-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.c | 2 |
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> |