1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/japanese/iv/files/patch-bi

21 lines
445 B
Plaintext
Raw Normal View History

--- 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" {