diff options
Diffstat (limited to 'lang/icon/patches/patch-cc')
-rw-r--r-- | lang/icon/patches/patch-cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/icon/patches/patch-cc b/lang/icon/patches/patch-cc index 86ff84ffe76..c8e3860b4da 100644 --- a/lang/icon/patches/patch-cc +++ b/lang/icon/patches/patch-cc @@ -2,11 +2,12 @@ --- src/h/sys.h Wed Mar 1 15:43:55 1995 *************** *** 181,192 **** ---- 181,195 ---- +--- 181,196 ---- #include <sys/ioctl.h> #include <errno.h> #include <sys/signal.h> -+ #ifdef __FreeBSD__ ++ #include <sys/param.h> ++ #if (defined(BSD) && BSD >= 199306) + #include <sgtty.h> + #endif #endif /* HaveTioc */ @@ -24,7 +25,7 @@ *** 24,29 **** --- 24,33 ---- - #ifdef FreeBSD + #ifdef GenericBSD + /* Look at the DL_GETERRNO constant, if it exists this is FreeBSD 1.1.5 + or 2.0. If it doesn't exist this must be post 2.0 with an dlerror */ |