Commit 64f7a8a8 authored by diego's avatar diego

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22164 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2cf24f98
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
*/ */
#define _BSD_SOURCE 1 #define _BSD_SOURCE 1
#define _NETBSD_SOURCE
#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
# include <dev/bktr/ioctl_meteor.h> # include <dev/bktr/ioctl_meteor.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment