libavdevice: Define _XOPEN_SOURCE for usleep
authorMartin Storsjö <martin@martin.st>
Thu, 21 Apr 2011 10:49:21 +0000 (13:49 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 21 Apr 2011 11:13:09 +0000 (14:13 +0300)
This hopefully fixes build failures on Dragonfly BSD.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavdevice/bktr.c

index 3e705a0..ab70a1b 100644 (file)
@@ -26,6 +26,7 @@
 
 #define _BSD_SOURCE 1
 #define _NETBSD_SOURCE
+#define _XOPEN_SOURCE 600
 
 #include "libavformat/avformat.h"
 #if HAVE_DEV_BKTR_IOCTL_METEOR_H && HAVE_DEV_BKTR_IOCTL_BT848_H