$OpenBSD: patch-common_include_zarafa_platform_h,v 1.2 2016/04/20 18:38:41 robert Exp $
--- common/include/zarafa/platform.h.orig	Wed Apr 20 13:13:54 2016
+++ common/include/zarafa/platform.h	Wed Apr 20 19:54:13 2016
@@ -56,7 +56,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
 
