summaryrefslogtreecommitdiff
path: root/package/nagios-plugins/patches/patch-plugins_netutils_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2011-12-03 12:21:54 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2011-12-03 12:21:54 +0100
commit2cb1006b60a372f2eafd72e778382f9a6d76ff7a (patch)
treed6add27714aee02a5b00a8cd5d7ea963bfca1754 /package/nagios-plugins/patches/patch-plugins_netutils_c
parent79f8f9c199a30524b5636c00e86fc8f179caf6f2 (diff)
add non-working nagios-plugins port
Diffstat (limited to 'package/nagios-plugins/patches/patch-plugins_netutils_c')
-rw-r--r--package/nagios-plugins/patches/patch-plugins_netutils_c16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/nagios-plugins/patches/patch-plugins_netutils_c b/package/nagios-plugins/patches/patch-plugins_netutils_c
new file mode 100644
index 000000000..97b68a5a5
--- /dev/null
+++ b/package/nagios-plugins/patches/patch-plugins_netutils_c
@@ -0,0 +1,16 @@
+--- nagios-plugins-1.4.15.orig/plugins/netutils.c 2010-07-27 22:47:16.000000000 +0200
++++ nagios-plugins-1.4.15/plugins/netutils.c 2011-12-03 12:07:53.000000000 +0100
+@@ -27,6 +27,13 @@
+ *
+ *****************************************************************************/
+
++#ifndef AF_LOCAL
++#define AF_LOCAL AF_UNIX
++#endif
++#ifndef PF_LOCAL
++#define PF_LOCAL PF_UNIX
++#endif
++
+ #define LOCAL_TIMEOUT_ALARM_HANDLER
+
+ #include "common.h"