| @@ -1,13 +1,15 @@ | | | @@ -1,13 +1,15 @@ |
| | | 1 | $NetBSD: patch-bktr,v 1.4 2010/09/05 22:55:24 wiz Exp $ |
| | | 2 | |
1 | --- libavdevice/bktr.c.orig 2009-01-19 15:46:40 +0000 | | 3 | --- libavdevice/bktr.c.orig 2009-01-19 15:46:40 +0000 |
2 | +++ libavdevice/bktr.c 2009-09-21 11:29:29 +0000 | | 4 | +++ libavdevice/bktr.c 2009-09-21 11:29:29 +0000 |
3 | @@ -24,7 +24,11 @@ | | 5 | @@ -24,7 +24,11 @@ |
4 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | | 6 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
5 | */ | | 7 | */ |
6 | | | 8 | |
7 | +/* u_short, u_int */ | | 9 | +/* u_short, u_int */ |
8 | #define _BSD_SOURCE 1 | | 10 | #define _BSD_SOURCE 1 |
9 | +#ifdef __NetBSD__ | | 11 | +#ifdef __NetBSD__ |
10 | +# define _NETBSD_SOURCE 1 | | 12 | +# define _NETBSD_SOURCE 1 |
11 | +#endif | | 13 | +#endif |
12 | #include "libavformat/avformat.h" | | 14 | #include "libavformat/avformat.h" |
13 | #if HAVE_DEV_BKTR_IOCTL_METEOR_H && HAVE_DEV_BKTR_IOCTL_BT848_H | | 15 | #if HAVE_DEV_BKTR_IOCTL_METEOR_H && HAVE_DEV_BKTR_IOCTL_BT848_H |