blob: 2304847375230640a5aa16919abae43c99888168 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
$NetBSD: patch-ab,v 1.3 2011/07/05 03:27:22 dholland Exp $
Needs sys/ioctl.h.
Dragonfly support.
--- pixelview_remote.c.orig 2000-05-21 15:10:09.000000000 +0000
+++ pixelview_remote.c
@@ -32,6 +32,7 @@
*
*/
+#include <sys/ioctl.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
@@ -39,6 +40,9 @@
#include <sys/fcntl.h>
#ifdef __NetBSD__
# include <dev/ic/bt8xx.h>
+#elif defined(__DragonFly__)
+# include <dev/video/meteor/ioctl_meteor.h>
+# include <dev/video/bktr/ioctl_bt848.h>
#else
# include <machine/ioctl_meteor.h>
# include <machine/ioctl_bt848.h>
|