summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2010-11-04 09:29:27 +0100
committerRobert Nagy <robert@openbsd.org>2010-11-05 11:35:51 +0100
commited6d3657fecce25eed234f6251328343718bc7fb (patch)
treeb9289d4ae4e86e29fea5da5f78b3f7cc91d520e0
parent28d6a637408494b9dec6b6d1bbaac37686f5b903 (diff)
Define OpenBSD as a supported system.
-rw-r--r--tools/bootstrp/command.cxx2
-rw-r--r--tools/inc/tools/inetdef.hxx4
-rw-r--r--tools/inc/tools/solar.h1
3 files changed, 6 insertions, 1 deletions
diff --git a/tools/bootstrp/command.cxx b/tools/bootstrp/command.cxx
index e439cc523c26..138b5ffcffaf 100644
--- a/tools/bootstrp/command.cxx
+++ b/tools/bootstrp/command.cxx
@@ -73,7 +73,7 @@
#include <sys/types.h>
#include <unistd.h>
#if ( defined NETBSD ) || defined (FREEBSD) || defined (AIX) \
- || defined (HPUX) || defined (MACOSX)
+ || defined (HPUX) || defined (MACOSX) || defined (OPENBSD)
#include <sys/wait.h>
#else
#include <wait.h>
diff --git a/tools/inc/tools/inetdef.hxx b/tools/inc/tools/inetdef.hxx
index 49cb612d13b6..06bc4e7ab78c 100644
--- a/tools/inc/tools/inetdef.hxx
+++ b/tools/inc/tools/inetdef.hxx
@@ -59,6 +59,10 @@
#define TOOLS_INETDEF_OS "FreeBSD/i386"
#elif defined FREEBSD && defined X86_64
#define TOOLS_INETDEF_OS "FreeBSD/amd64"
+#elif defined OPENBSD && defined X86
+#define TOOLS_INETDEF_OS "OpenBSD/i386"
+#elif defined OPENBSD && defined X86_64
+#define TOOLS_INETDEF_OS "OpenBSD/amd64"
#elif defined SINIX
#define TOOLS_INETDEF_OS "SINIX"
#else // AIX, HPUX, SOLARIS, ...
diff --git a/tools/inc/tools/solar.h b/tools/inc/tools/solar.h
index ca0df1cbd69d..c80cead595c0 100644
--- a/tools/inc/tools/solar.h
+++ b/tools/inc/tools/solar.h
@@ -310,6 +310,7 @@ template<typename T> inline T Abs(T a) { return (a>=0?a:-a); }
#define SYSTEM_UNXMACXI 33
#define SYSTEM_OS2GCCI 34
#define SYSTEM_UNXBSDX 35
+#define SYSTEM_UNXOBSD 36
#define SYSTEM_WNTGCCI 99
#if defined WNT