mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
20 lines
436 B
Plaintext
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>
|