[FFmpeg-cvslog] libavdevice: Define _XOPEN_SOURCE for usleep

Martin Storsjö git at videolan.org
Fri Apr 22 03:58:45 CEST 2011


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Thu Apr 21 13:49:21 2011 +0300| [32a128522ad392d2bca67165fda1d2fe30262189] | committer: Martin Storsjö

libavdevice: Define _XOPEN_SOURCE for usleep

This hopefully fixes build failures on Dragonfly BSD.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=32a128522ad392d2bca67165fda1d2fe30262189
---

 libavdevice/bktr.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c
index 3e705a0..ab70a1b 100644
--- a/libavdevice/bktr.c
+++ b/libavdevice/bktr.c
@@ -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



More information about the ffmpeg-cvslog mailing list