diff options
Diffstat (limited to 'lib/bind/port_after.h.in')
-rw-r--r-- | lib/bind/port_after.h.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/bind/port_after.h.in b/lib/bind/port_after.h.in index f248d23f56145..162535ee5067a 100644 --- a/lib/bind/port_after.h.in +++ b/lib/bind/port_after.h.in @@ -36,6 +36,13 @@ @USE_IFNAMELINKID@ @PORT_NONBLOCK@ +#ifndef _POSIX_PATH_MAX +#define _POSIX_PATH_MAX 255 +#endif +#ifndef PATH_MAX +#define PATH_MAX _POSIX_PATH_MAX +#endif + /* * We need to know the IPv6 address family number even on IPv4-only systems. * Note that this is NOT a protocol constant, and that if the system has its |