summaryrefslogtreecommitdiff
path: root/security/super/files/patch-06
blob: 861c8eeaf2c89de9213a2be2939004a23ff923a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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;