--- libavdevice/bktr.c.orig 2009-01-19 15:46:40 +0000 +++ libavdevice/bktr.c 2009-09-21 11:29:29 +0000 @@ -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 @@ -32,7 +36,7 @@ #elif HAVE_MACHINE_IOCTL_METEOR_H && HAVE_MACHINE_IOCTL_BT848_H # include # include -#elif HAVE_DEV_VIDEO_METEOR_IOCTL_METEOR_H && HAVE_DEV_VIDEO_METEOR_IOCTL_BT848_H +#elif HAVE_DEV_VIDEO_METEOR_IOCTL_METEOR_H && HAVE_DEV_VIDEO_BKTR_IOCTL_BT848_H # include # include #elif HAVE_DEV_IC_BT8XX_H