$NetBSD: patch-ab,v 1.5 2022/04/24 10:57:28 tnn 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>
