summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios2/files/patch-include-config.h.in
blob: 9c3c10cc3d5f08ed91def2b9bed8a70beac73b85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- include/config.h.in.orig	Mon Aug 29 17:34:30 2005
+++ include/config.h.in	Mon Aug 29 17:41:03 2005
@@ -108,11 +108,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#undef HAVE_SYS_RESOURCE_H
-#ifdef HAVE_SYS_RESOURCE_H
-#include <sys/resource.h>
-#endif
-
 #undef HAVE_PWD_H
 #ifdef HAVE_PWD_H
 #include <pwd.h>
@@ -190,6 +185,11 @@
 #else
 #include <time.h>
 #endif
+#endif
+
+#undef HAVE_SYS_RESOURCE_H
+#ifdef HAVE_SYS_RESOURCE_H
+#include <sys/resource.h>
 #endif
 
 #undef HAVE_SYS_TIMEB_H