diff options
author | Jorge Acereda <jacereda@brainstorm.es> | 2010-03-03 09:16:45 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2010-03-03 09:16:45 +0000 |
commit | d5963ee64aa07295d5058f6400b8f1794123122a (patch) | |
tree | bc1df042c06c95b20ccbd8aacf011fac8c7e4fca | |
parent | f57880d2445ef5ba39252d663e200b691dbe064f (diff) | |
download | ffmpeg-d5963ee64aa07295d5058f6400b8f1794123122a.tar.gz |
Add _NETBSD_SOURCE definition to fix compilation on NetBSD.
NetBSD is unlikely to fix their headers and the FATE box passes it
as -D_NETBSD_SOURCE on the command line anyway. In this case, it's
better to keep the hack well-contained within this file.
Closes issue 886.
patch by Jorge Acereda, jacereda brainstorm es
Originally committed as revision 22164 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavdevice/bktr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c index 33744aaf74..744fa0f05a 100644 --- a/libavdevice/bktr.c +++ b/libavdevice/bktr.c @@ -25,6 +25,8 @@ */ #define _BSD_SOURCE 1 +#define _NETBSD_SOURCE + #include "libavformat/avformat.h" #if HAVE_DEV_BKTR_IOCTL_METEOR_H && HAVE_DEV_BKTR_IOCTL_BT848_H # include <dev/bktr/ioctl_meteor.h> |