$NetBSD: patch-ao,v 1.1 2006/01/05 19:07:44 joerg Exp $

Needs sys/ioctl.h.
Dragonfly support.

--- haup_remote.c.orig	2000-05-21 15:10:04.000000000 +0000
+++ haup_remote.c
@@ -31,6 +31,7 @@
  *
  */
 
+#include <sys/ioctl.h>
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -38,6 +39,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>
