diff options
author | fredb <fredb> | 2001-05-03 18:46:07 +0000 |
---|---|---|
committer | fredb <fredb> | 2001-05-03 18:46:07 +0000 |
commit | d9c834e179e41955c3350d0ed067372d551dc084 (patch) | |
tree | 28cbad3f3b9cc3f0849eb25d95acbcd47f4ae7ee /x11/hanterm/patches | |
parent | e8bad0517ec3e75554d00f569a0921cb9cba0dfa (diff) | |
download | pkgsrc-d9c834e179e41955c3350d0ed067372d551dc084.tar.gz |
Should be OK to include <sys/param.h> unconditionally in "misc.c", to get
the proper definition of "BSD", since it's already done so in "main.c".
Diffstat (limited to 'x11/hanterm/patches')
-rw-r--r-- | x11/hanterm/patches/patch-aa | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/x11/hanterm/patches/patch-aa b/x11/hanterm/patches/patch-aa index d135ca8a76e..924e2b83029 100644 --- a/x11/hanterm/patches/patch-aa +++ b/x11/hanterm/patches/patch-aa @@ -1,15 +1,15 @@ -$NetBSD: patch-aa,v 1.1.1.1 2000/10/30 03:02:23 itojun Exp $ ---- misc.c- Sun Oct 29 18:04:16 2000 -+++ misc.c Sun Oct 29 18:04:33 2000 -@@ -903,11 +903,2 @@ - { --#if defined(linux) && defined(__GLIBC__) -- extern const char *const sys_errlist[]; --#else --#if (defined(BSD) && (BSD >= 199306)) -- /* in *BSD, should be null because it is already declared */ --#else -- extern char *sys_errlist[]; +$NetBSD: patch-aa,v 1.2 2001/05/03 18:46:08 fredb Exp $ + +--- misc.c.orig Tue Jun 1 15:46:49 1999 ++++ misc.c +@@ -35,10 +35,7 @@ + #include <pwd.h> + #include <errno.h> + +-/* added by cjh. for detecting *BSD family correctly */ +-#if (defined(__unix__) || defined(unix)) && !defined(USG) + #include <sys/param.h> -#endif --#endif - extern int sys_nerr; + + #include <X11/Xatom.h> + #include <X11/cursorfont.h> |