aboutsummaryrefslogtreecommitdiff
path: root/security/super/files/patch-06
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-11-19 09:19:19 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-11-19 09:19:19 +0000
commitd02eecccd268a8c846c9c94b67bbfcf63dc0ffc5 (patch)
tree58aa1aa302519d50dcbd5366f17d606d36e627ae /security/super/files/patch-06
parent2ecc33e57129f71fd10b6ef32a7f51c8e092acbd (diff)
Notes
Diffstat (limited to 'security/super/files/patch-06')
-rw-r--r--security/super/files/patch-0637
1 files changed, 37 insertions, 0 deletions
diff --git a/security/super/files/patch-06 b/security/super/files/patch-06
new file mode 100644
index 000000000000..861c8eeaf2c8
--- /dev/null
+++ b/security/super/files/patch-06
@@ -0,0 +1,37 @@
+--- localsys.h.orig Tue Apr 7 01:55:28 1998
++++ localsys.h Thu Nov 19 00:17:50 1998
+@@ -13,14 +13,14 @@
+ * func_type funcname __P((arglist));
+ */
+
+-#include "config.h"
+-
+ #include <stdio.h>
+ #include <ctype.h>
+ #include <fcntl.h>
+ #include <pwd.h>
+ #include <grp.h>
+
++#include "config.h"
++
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
+@@ -192,7 +192,7 @@
+ #endif
+
+ #ifndef _SVR4_SOURCE
+-#ifndef Digital_UNIX
++#if !(defined(Digital_UNIX) || (defined(BSD) && (BSD >= 199103)))
+ extern int gethostname __P((char *, size_t size));
+ #endif
+ #endif
+@@ -254,7 +254,7 @@
+ #endif
+
+ /* type returned by setgrent() */
+-#ifdef Digital_UNIX
++#if defined(Digital_UNIX) || (defined(BSD) && (BSD >= 199103))
+ typedef int SETGRENT_T;
+ #else
+ typedef void SETGRENT_T;