[FFmpeg-cvslog] r22164 - trunk/libavdevice/bktr.c

diego subversion
Wed Mar 3 10:16:46 CET 2010


Author: diego
Date: Wed Mar  3 10:16:45 2010
New Revision: 22164

Log:
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

Modified:
   trunk/libavdevice/bktr.c

Modified: trunk/libavdevice/bktr.c
==============================================================================
--- trunk/libavdevice/bktr.c	Wed Mar  3 09:25:10 2010	(r22163)
+++ trunk/libavdevice/bktr.c	Wed Mar  3 10:16:45 2010	(r22164)
@@ -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>



More information about the ffmpeg-cvslog mailing list