summaryrefslogtreecommitdiffstats
path: root/contrib/bind/lib/isc/ctl_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bind/lib/isc/ctl_p.h')
-rw-r--r--contrib/bind/lib/isc/ctl_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/bind/lib/isc/ctl_p.h b/contrib/bind/lib/isc/ctl_p.h
index 1ebb254..42aade7 100644
--- a/contrib/bind/lib/isc/ctl_p.h
+++ b/contrib/bind/lib/isc/ctl_p.h
@@ -4,7 +4,11 @@ struct ctl_buf {
};
#define MAX_LINELEN 990 /* Like SMTP. */
+#ifndef NO_SOCKADDR_UN
+#define MAX_NTOP PATH_MAX
+#else
#define MAX_NTOP (sizeof "[255.255.255.255].65535")
+#endif
#define allocated_p(Buf) ((Buf).text != NULL)
#define buffer_init(Buf) ((Buf).text = 0, (Buf.used) = 0)
OpenPOWER on IntegriCloud