summaryrefslogtreecommitdiff
path: root/japanese/iv/files/patch-bi
blob: aa1d3d448a983b40fbdbca6419c22fc10408d2b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/bin/iclass/direct.c.orig	Sat Dec 12 13:40:42 1992
+++ src/bin/iclass/direct.c	Mon Jan  3 15:24:22 2000
@@ -30,11 +30,17 @@
 #include <OS/string.h>
 #include <OS/types.h>
 #include <stddef.h>
+#if __FreeBSD_cc_version < 400002
 #include <osfcn.h>
+#endif
 #include <pwd.h>
 #include <string.h>
 #include <stdlib.h>
 #include <sys/stat.h>
+
+#if __FreeBSD_cc_version >= 400003
+#include <unistd.h>
+#endif
 
 #ifdef __DECCXX
 extern "C" {