pkgsrc/sysutils/vbetool/patches/patch-aa

17 lines
394 B
Text
Raw Normal View History

$NetBSD: patch-aa,v 1.1.1.1 2007/08/08 12:00:34 xtraeme Exp $
--- thunk.c.orig 2007-08-08 13:29:17.000000000 +0200
+++ thunk.c 2007-08-08 13:29:52.000000000 +0200
@@ -11,7 +11,11 @@
#include <unistd.h>
#include <stdlib.h>
#include <sys/mman.h>
+#ifdef __NetBSD__
+#include <machine/pio.h>
+#else
#include <sys/io.h>
+#endif
#include <string.h>
#include <sys/ipc.h>
#include <sys/shm.h>