2013-09-26 17:14:40 +02:00

26 lines
585 B
Plaintext

$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>