# HG changeset patch # User diego # Date 1166932395 0 # Node ID 42ac34a0ec1d8a0a10890f81fbe2941ac10ab962 # Parent 72cb68e511e4e531ff429794518461e60b05535b Properly check for all required bktr headers. inspired by a patch from Tatu Kilappa, trilkk iki fi diff -r 72cb68e511e4 -r 42ac34a0ec1d grab_bktr.c --- a/grab_bktr.c Sat Dec 23 12:33:37 2006 +0000 +++ b/grab_bktr.c Sun Dec 24 03:53:15 2006 +0000 @@ -24,21 +24,16 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "avformat.h" -#if defined(__FreeBSD__) -# if __FreeBSD__ >= 502100 -# include -# include -# else -# include -# include -# endif -#elif defined(__FreeBSD_kernel__) +#if defined (HAVE_DEV_BKTR_IOCTL_METEOR_H) && defined (HAVE_DEV_BKTR_IOCTL_BT848_H) # include # include -#elif defined(__DragonFly__) +#elif defined (HAVE_MACHINE_IOCTL_METEOR_H) && defined (HAVE_MACHINE_IOCTL_BT848_H) +# include +# include +#elif defined (HAVE_DEV_VIDEO_METEOR_IOCTL_METEOR_H) && defined (HAVE_DEV_VIDEO_METEOR_IOCTL_BT848_H) # include # include -#else +#elif HAVE_DEV_IC_BT8XX_H # include #endif #include