$NetBSD: patch-ai,v 1.1.1.1 2003/07/27 06:03:36 bencollver Exp $ --- src/libvga.h.orig Thu Jul 6 09:08:11 2000 +++ src/libvga.h @@ -12,6 +12,14 @@ #include #endif +#ifdef __NetBSD__ +#include +#include +#include +#define iopl(x) i386_iopl(x) +extern int ioperm(unsigned long, unsigned long, int); +#endif + /* --------------------- Macro definitions shared by library modules */ /* VGA index register ports */ @@ -358,7 +366,7 @@ extern unsigned char *__svgalib_give_gra #else -#define SVGALIB_ACQUIRE_SIG SIGUNUSED +#define SVGALIB_ACQUIRE_SIG SIGUSR2 #define SVGALIB_RELEASE_SIG SIGPROF #endif