summaryrefslogtreecommitdiff
path: root/sysutils/toshutils/patches/patch-ac
blob: f82e9e5c167e2c6bf7736140784ecee711ef38a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$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>