$OpenBSD: patch-gateway_Gateway_cpp,v 1.6 2010/08/22 10:13:27 ajacoutot Exp $
--- gateway/Gateway.cpp.orig	Tue Aug  3 14:51:43 2010
+++ gateway/Gateway.cpp	Sun Aug 22 10:22:53 2010
@@ -84,6 +84,10 @@
 
 #include "UnixUtil.h"
 
+#ifdef __OpenBSD__
+#include <sys/resource.h>
+#endif
+
 #ifdef max
 #undef max
 #endif
