fix build on OpenBSD 3.0; Kai Gallasch <kai@adminhell.org>

This commit is contained in:
jakob 2001-09-14 23:52:00 +00:00
parent 1d0a75e12a
commit 54fe1fb1a0
4 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- makedefs.orig Tue Feb 20 01:18:32 2001
+++ makedefs Sat Sep 15 00:11:58 2001
@@ -93,6 +93,8 @@
;;
OpenBSD.2*) SYSTYPE=OPENBSD2
;;
+ OpenBSD.3*) SYSTYPE=OPENBSD3
+ ;;
NetBSD.1*) SYSTYPE=NETBSD1
;;
BSD/OS.2*) SYSTYPE=BSDI2

View File

@ -0,0 +1,20 @@
--- sys_defs.h.orig Sat Sep 15 00:38:11 2001
+++ src/util/sys_defs.h Sat Sep 15 00:40:13 2001
@@ -26,7 +26,7 @@
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
|| defined(FREEBSD5) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
- || defined(OPENBSD2) || defined(NETBSD1)
+ || defined(OPENBSD2) || defined(OPENBSD3) || defined(NETBSD1)
#define SUPPORTED
#include <sys/types.h>
#include <sys/param.h>
@@ -58,7 +58,7 @@
#define HAS_DUPLEX_PIPE
#endif
-#if defined(OPENBSD2) || defined(FREEBSD3) || defined(FREEBSD4)
+#if defined(OPENBSD2) || defined(OPENBSD3) || defined(FREEBSD3) || defined(FREEBSD4)
#define HAS_ISSETUGID
#endif

View File

@ -0,0 +1,11 @@
--- makedefs.orig Tue Feb 20 01:18:32 2001
+++ makedefs Sat Sep 15 00:11:58 2001
@@ -93,6 +93,8 @@
;;
OpenBSD.2*) SYSTYPE=OPENBSD2
;;
+ OpenBSD.3*) SYSTYPE=OPENBSD3
+ ;;
NetBSD.1*) SYSTYPE=NETBSD1
;;
BSD/OS.2*) SYSTYPE=BSDI2

View File

@ -0,0 +1,20 @@
--- sys_defs.h.orig Sat Sep 15 00:38:11 2001
+++ src/util/sys_defs.h Sat Sep 15 00:40:13 2001
@@ -26,7 +26,7 @@
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
|| defined(FREEBSD5) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
- || defined(OPENBSD2) || defined(NETBSD1)
+ || defined(OPENBSD2) || defined(OPENBSD3) || defined(NETBSD1)
#define SUPPORTED
#include <sys/types.h>
#include <sys/param.h>
@@ -58,7 +58,7 @@
#define HAS_DUPLEX_PIPE
#endif
-#if defined(OPENBSD2) || defined(FREEBSD3) || defined(FREEBSD4)
+#if defined(OPENBSD2) || defined(OPENBSD3) || defined(FREEBSD3) || defined(FREEBSD4)
#define HAS_ISSETUGID
#endif