aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios2/files/patch-include-config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nagios2/files/patch-include-config.h.in')
-rw-r--r--net-mgmt/nagios2/files/patch-include-config.h.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/net-mgmt/nagios2/files/patch-include-config.h.in b/net-mgmt/nagios2/files/patch-include-config.h.in
new file mode 100644
index 000000000000..9c3c10cc3d5f
--- /dev/null
+++ b/net-mgmt/nagios2/files/patch-include-config.h.in
@@ -0,0 +1,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