--- ./boehm-gc/config.h.orig	Fri Apr 16 11:56:29 1999
+++ ./boehm-gc/config.h	Fri Apr 23 19:17:30 1999
@@ -38,6 +38,11 @@
 #    define NETBSD
 #    define mach_type_known
 # endif
+# if defined(__OpenBSD__) && defined(__m68k__)
+#    define M68K
+#    define OPENBSD
+#    define mach_type_known
+# endif
 # if defined(vax)
 #    define VAX
 #    ifdef ultrix
@@ -47,9 +52,10 @@
 #    endif
 #    define mach_type_known
 # endif
-# if defined(mips) || defined(__mips)
+# if defined(mips) || defined(__mips) || defined(__mips__)
 #    define MIPS
-#    if defined(ultrix) || defined(__ultrix) || defined(__NetBSD__)
+#    if defined(ultrix) || defined(__ultrix) || defined(__NetBSD__) \
+	|| defined(__OpenBSD__)
 #	define ULTRIX
 #    else
 #	if defined(_SYSTYPE_SVR4) || defined(SYSTYPE_SVR4) || defined(__SYSTYPE_SVR4__)
@@ -172,6 +178,11 @@
 #   define NETBSD
 #   define mach_type_known
 # endif
+# if defined(__OpenBSD__) && defined(__i386__)
+#   define I386
+#   define OPENBSD
+#   define mach_type_known
+# endif
 # if defined(bsdi) && defined(i386)
 #    define I386
 #    define BSDI
@@ -253,8 +264,9 @@
 		    /*		   MACOS and AMIGA variants)		*/
 		    /*             I386       ==> Intel 386	 	*/
 		    /*		    (SEQUENT, OS2, SCO, LINUX, NETBSD,	*/
-		    /*		     FREEBSD, THREE86BSD, MSWIN32,	*/
-		    /* 		     BSDI, SUNOS5, NEXT	variants)	*/
+		    /*		     FREEBSD, THREE86BSD, OPENBSD,	*/
+		    /* 		     MSWIN32, BSDI, SUNOS5,		*/
+		    /* 		     NEXT variants)			*/
                     /*             NS32K      ==> Encore Multimax 	*/
                     /*             MIPS       ==> R2000 or R3000	*/
                     /*			(RISCOS, ULTRIX variants)	*/
@@ -371,6 +383,12 @@
 	extern char etext;
 #	define DATASTART ((ptr_t)(&etext))
 #   endif
+#   ifdef OPENBSD
+#	define OS_TYPE "OPENBSD"
+#	define HEURISTIC2
+	extern char etext;
+#	define DATASTART ((ptr_t)(&etext))
+#   endif
 #   ifdef SUNOS4
 #	define OS_TYPE "SUNOS4"
 	extern char etext;
@@ -675,13 +693,16 @@
 #   ifdef NETBSD
 #	define OS_TYPE "NETBSD"
 #   endif
+#   ifdef OPENBSD
+#	define OS_TYPE "OPENBSD"
+#   endif
 #   ifdef THREE86BSD
 #	define OS_TYPE "THREE86BSD"
 #   endif
 #   ifdef BSDI
 #	define OS_TYPE "BSDI"
 #   endif
-#   if defined(FREEBSD) || defined(NETBSD) \
+#   if defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD) \
         || defined(THREE86BSD) || defined(BSDI)
 #	define HEURISTIC2
 	extern char etext;
