$OpenBSD: patch-common_platform_h,v 1.7 2012/05/05 16:56:17 ajacoutot Exp $
--- common/platform.h.orig	Thu May  3 16:37:09 2012
+++ common/platform.h	Sat May  5 17:40:42 2012
@@ -55,7 +55,12 @@
   // Increase our maximum amount of file descriptors to 8192
   // But only if you don't have a glibc that doesn't check for this compiletime limit
   #ifndef _FORTIFY_SOURCE
+  #if OPENBSD
+  #include <sys/types.h>
+  #include <sys/select.h>
+  #else
   #include <bits/types.h>
+  #endif
   #undef __FD_SETSIZE
   #define __FD_SETSIZE 8192
   #endif
