--- include/parrot/parrot.h.orig        Fri Oct 17 16:12:51 2003
+++ include/parrot/parrot.h     Fri Oct 17 14:04:33 2003
@@ -37,6 +37,10 @@

 /* Other headers, where available */

+#ifdef PARROT_HAS_HEADER_NIIN
+#  include <netinet/in.h>
+#endif
+
 #ifdef PARROT_HAS_HEADER_ARPAINET
 #  include <arpa/inet.h>
 #endif
@@ -67,10 +71,6 @@

 #ifdef PARROT_HAS_HEADER_SYSSOCKET
 #include <sys/socket.h>
-#endif
-
-#ifdef PARROT_HAS_HEADER_NIIN
-#  include <netinet/in.h>
 #endif

 #ifdef PARROT_HAS_HEADER_SYSSTAT
--- config/init/hints/openbsd.pl.orig	Fri Oct 17 16:14:03 2003
+++ config/init/hints/openbsd.pl	Fri Oct 17 15:28:58 2003
@@ -0,0 +1,15 @@
+my $ccflags = Configure::Data->get('ccflags');
+if ( $ccflags !~ /-pthread/ ) {
+    $ccflags .= ' -pthread';
+}
+Configure::Data->set(
+    ccflags => $ccflags,
+);
+
+my $libs = Configure::Data->get('libs');
+if ( $libs !~ /-lpthread/ ) {
+    $libs .= ' -lpthread';
+}
+Configure::Data->set(
+    libs => $libs,
+);
