2013-09-26 17:14:40 +02:00

20 lines
436 B
Plaintext

$NetBSD: patch-ac,v 1.1.1.1 1999/12/20 03:05:16 hubertf Exp $
--- src/fan.c.orig Fri Dec 17 14:07:03 1999
+++ src/fan.c Mon Dec 20 03:33:31 1999
@@ -75,7 +75,14 @@
#include<signal.h>
#include<paths.h>
#include<pwd.h>
+#ifdef __NetBSD__
+#include <sys/types.h>
+#include <machine/sysarch.h>
+#define iopl i386_iopl
+#endif
+#ifdef __Linux__
#include<features.h>
+#endif
#include<sys/stat.h>
#ifdef __GLIBC__
#include<sys/perm.h>