$OpenBSD: patch-common_platform_h,v 1.6 2011/04/04 14:42:51 ajacoutot Exp $
--- common/platform.h.orig	Tue Mar 29 00:04:07 2011
+++ common/platform.h	Mon Apr  4 12:29:02 2011
@@ -53,7 +53,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
 
