6ed83acafe
This may or may not fully run on LP64 platforms but it's much more likely to now than previously.
25 lines
575 B
Text
25 lines
575 B
Text
$NetBSD: patch-ao,v 1.2 2011/07/05 03:27:22 dholland 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>
|