mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-08-01 16:59:58 +02:00
libavdevice: Define _XOPEN_SOURCE for usleep
This hopefully fixes build failures on Dragonfly BSD. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
65af48b559
commit
32a128522a
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
#define _BSD_SOURCE 1
|
#define _BSD_SOURCE 1
|
||||||
#define _NETBSD_SOURCE
|
#define _NETBSD_SOURCE
|
||||||
|
#define _XOPEN_SOURCE 600
|
||||||
|
|
||||||
#include "libavformat/avformat.h"
|
#include "libavformat/avformat.h"
|
||||||
#if HAVE_DEV_BKTR_IOCTL_METEOR_H && HAVE_DEV_BKTR_IOCTL_BT848_H
|
#if HAVE_DEV_BKTR_IOCTL_METEOR_H && HAVE_DEV_BKTR_IOCTL_BT848_H
|
||||||
|
Loading…
Reference in New Issue
Block a user