summaryrefslogtreecommitdiff
path: root/package/nagios-plugins/patches/patch-plugins_netutils_c
blob: 97b68a5a501e5a559c3c7b432ef004408598c930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"