summaryrefslogtreecommitdiffstats
path: root/plugins/netutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/netutils.h')
-rw-r--r--plugins/netutils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/netutils.h b/plugins/netutils.h
index 9b0557d3..8bc7bd61 100644
--- a/plugins/netutils.h
+++ b/plugins/netutils.h
@@ -40,6 +40,14 @@
40#include <netinet/in.h> 40#include <netinet/in.h>
41#include <arpa/inet.h> 41#include <arpa/inet.h>
42 42
43#ifdef HAVE_SYS_UN_H
44# include <sys/un.h>
45# ifndef UNIX_PATH_MAX
46 /* linux uses this, on sun it's hard-coded at 108 without a define */
47# define UNIX_PATH_MAX 108
48# endif /* UNIX_PATH_MAX */
49#endif /* HAVE_SYS_UN_H */
50
43RETSIGTYPE socket_timeout_alarm_handler (int) __attribute__((noreturn)); 51RETSIGTYPE socket_timeout_alarm_handler (int) __attribute__((noreturn));
44 52
45/* process_request and wrapper macros */ 53/* process_request and wrapper macros */