summaryrefslogtreecommitdiff
path: root/package/nagios-plugins/patches/patch-plugins_netutils_c
diff options
context:
space:
mode:
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"