diff options
-rw-r--r-- | x11-toolkits/iv/files/patch-bd | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/x11-toolkits/iv/files/patch-bd b/x11-toolkits/iv/files/patch-bd index c2c7d5ac422c..daa474d17f6a 100644 --- a/x11-toolkits/iv/files/patch-bd +++ b/x11-toolkits/iv/files/patch-bd @@ -6,10 +6,19 @@ #include <ctype.h> -#ifndef __DECCXX +/*#ifndef __DECCXX*/ -+#if !defined(__DECCXX) || (__FreeBSD_cc_version < 400002) ++#if !defined(__DECCXX) && (__FreeBSD_cc_version < 400002) #include <osfcn.h> #endif #include <stdio.h> +@@ -66,7 +67,7 @@ + #include <string.h> + #include <stream.h> + #include <strstream.h> +-#ifdef SYSV ++#if defined(SYSV) || (__FreeBSD_cc_version >= 400002) + #include <unistd.h> + #endif + #include <sys/file.h> @@ -1504,7 +1505,8 @@ in >> graylevel; |