blob: f258637829613071da07265c947fc72c4cfbad83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-bktr,v 1.2 2009/06/12 16:25:34 ahoka Exp $
--- libavdevice/bktr.c.orig 2009-01-19 16:46:40.000000000 +0100
+++ libavdevice/bktr.c
@@ -24,7 +24,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+/* u_short, u_int */
#define _BSD_SOURCE 1
+#ifdef __NetBSD__
+# define _NETBSD_SOURCE 1
+#endif
#include "libavformat/avformat.h"
#if HAVE_DEV_BKTR_IOCTL_METEOR_H && HAVE_DEV_BKTR_IOCTL_BT848_H
# include <dev/bktr/ioctl_meteor.h>
|