summaryrefslogtreecommitdiff
path: root/graphics/cambevao/patches/patch-aa
blob: 30986d48fd4052be6f2207355564df5eef970f0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.1 2006/04/20 16:05:44 joerg Exp $

--- cam_bktr.c.orig	2006-04-20 15:30:05.000000000 +0000
+++ cam_bktr.c
@@ -50,12 +50,13 @@
 
 #ifdef __NetBSD__
 #include <dev/ic/bt8xx.h>
-#endif /* NetBSD */
-
-#ifdef __FreeBSD__
+#elif defined(__FreeBSD__)
 #include <machine/ioctl_meteor.h>
 #include <machine/ioctl_bt848.h>
-#endif /* __FreeBSD__ */
+#elif defined(__DragonFly__)
+#include <dev/video/meteor/ioctl_meteor.h>
+#include <dev/video/bktr/ioctl_bt848.h>
+#endif
 
 /* which device */
 #define VIDEO_DEV  "/dev/bktr"