$OpenBSD: patch-common_platform_h,v 1.8 2013/01/27 13:06:20 robert Exp $
--- common/platform.h.orig	Sun Jan 20 17:29:12 2013
+++ common/platform.h	Sun Jan 20 17:29:47 2013
@@ -70,7 +70,12 @@
 
   // We have to include this now in case select.h is included too soon.
   // Increase our maximum amount of file descriptors to 8192
+  #if OPENBSD
+  #include <sys/types.h>
+  #include <sys/select.h>
+  #else
   #include <bits/types.h>
+  #endif
   #undef __FD_SETSIZE
   #define __FD_SETSIZE 8192
 
