$OpenBSD: patch-gateway_Gateway_cpp,v 1.9 2015/11/02 11:06:34 robert Exp $
--- gateway/Gateway.cpp.orig	Wed Aug  5 17:30:47 2015
+++ gateway/Gateway.cpp	Thu Aug 20 12:36:50 2015
@@ -80,6 +80,10 @@
 
 #include "UnixUtil.h"
 
+#ifdef __OpenBSD__
+#include <sys/resource.h>
+#endif
+
 #if HAVE_ICU
 #include <unicode/uclean.h>
 #endif
