summaryrefslogtreecommitdiff
path: root/multimedia/fxtv/files/patch-tvcapture.h
blob: 43044afb32a6db54930f9e0377211b331789b93b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$FreeBSD$

--- tvcapture.h.orig
+++ tvcapture.h
@@ -34,8 +34,14 @@
 #include <X11/Intrinsic.h>
 #ifdef __NetBSD__
 # include <dev/ic/bt8xx.h>
+#endif
+#ifdef __FreeBSD__
+#include <osreldate.h>
+#if __FreeBSD_version > 500000
+#include <dev/bktr/ioctl_meteor.h>
 #else
-# include <machine/ioctl_meteor.h>
+#include <machine/ioctl_meteor.h>
+#endif
 #endif
 #include "tvtypes.h"