$OpenBSD: patch-include_config_h_in,v 1.5 2008/11/09 10:18:56 sturm Exp $
--- include/config.h.in.orig	Sun Nov  2 11:51:30 2008
+++ include/config.h.in	Sun Nov  9 02:12:21 2008
@@ -124,11 +124,6 @@
 #endif
 #endif
 
-#undef HAVE_SYS_RESOURCE_H
-#ifdef HAVE_SYS_RESOURCE_H
-#include <sys/resource.h>
-#endif
-
 #undef HAVE_LIMITS_H
 #ifdef HAVE_LIMITS_H
 #include <limits.h>
@@ -217,6 +212,11 @@
 #undef HAVE_SYS_TIMEB_H
 #if HAVE_SYS_TIMEB_H
 #include <sys/timeb.h>
+#endif
+
+#undef HAVE_SYS_RESOURCE_H
+#ifdef HAVE_SYS_RESOURCE_H
+#include <sys/resource.h>
 #endif
 
 #undef HAVE_SYS_IPC_H
