1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/japanese/iv/files/patch-bi
Shigeyuki Fukushima d0094e951a Fix build error under 4-current and new egcs/C++ compiler.
PR:		ports/16024
Submitted by:	MIHIRA Yoshiro <sanpei@sanpei.org>
2000-01-11 15:52:35 +00:00

21 lines
445 B
Plaintext

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