$OpenBSD: patch-common_platform_h,v 1.11 2015/11/02 11:06:34 robert Exp $
--- common/platform.h.orig	Wed Aug  5 17:30:48 2015
+++ common/platform.h	Thu Aug 20 12:36:50 2015
@@ -64,7 +64,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
 
