$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 #include #include #include @@ -38,6 +39,9 @@ #include #ifdef __NetBSD__ # include +#elif defined(__DragonFly__) +# include +# include #else # include # include