$OpenBSD: patch-pixelview_remote_c,v 1.1 2002/02/02 00:52:18 naddy Exp $
--- pixelview_remote.c.orig	Sat Jun 16 20:31:51 2001
+++ pixelview_remote.c	Sat Jun 16 20:32:36 2001
@@ -37,7 +37,8 @@
 #include <stdio.h>
 #include <unistd.h>
 #include <sys/fcntl.h>
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
+# include <sys/ioctl.h>
 # include <dev/ic/bt8xx.h>
 #else
 # include <machine/ioctl_meteor.h>
