$OpenBSD: patch-common_platform_h,v 1.10 2015/04/05 22:25:08 robert Exp $
--- common/platform.h.orig	Thu Mar  5 16:54:04 2015
+++ common/platform.h	Fri Apr  3 23:11:10 2015
@@ -65,7 +65,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 defined(__OpenBSD__)
+  #include <sys/types.h>
+  #include <sys/select.h>
+  #else
   #include <bits/types.h>
+  #endif
   #undef __FD_SETSIZE
   #define __FD_SETSIZE 8192
 
