From 2138dc99fc2623117c3336d94b3164d18dd0f8b2 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 12 Mar 2010 17:28:02 +0000 Subject: Add _XOPEN_SOURCE=600 to CPPFLAGS on NetBSD. This make NetBSD compile out of the box at the cost of a hack, but a locally contained one that is preferable to the one used in the wild. Currently the NetBSD FATE box adds -D_NETBSD_SOURCE to CPPFLAGS to work around broken system headers. Since it is unlikely for NetBSD to fix their headers, it is better to use a standard flag instead of a system-specific one. As a sideeffect, this allows getting rid of a local _NETBSD_SOURCE definition. Originally committed as revision 22486 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavdevice/bktr.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavdevice') diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c index 744fa0f05a..e294ee49a4 100644 --- a/libavdevice/bktr.c +++ b/libavdevice/bktr.c @@ -25,7 +25,6 @@ */ #define _BSD_SOURCE 1 -#define _NETBSD_SOURCE #include "libavformat/avformat.h" #if HAVE_DEV_BKTR_IOCTL_METEOR_H && HAVE_DEV_BKTR_IOCTL_BT848_H -- cgit v1.2.3