diff options
Diffstat (limited to 'libs/nixio/src/address.c')
-rw-r--r-- | libs/nixio/src/address.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/nixio/src/address.c b/libs/nixio/src/address.c index 9ff063a33..3d779fbe7 100644 --- a/libs/nixio/src/address.c +++ b/libs/nixio/src/address.c @@ -23,6 +23,10 @@ #include <string.h> #include <netdb.h> +#ifndef NI_MAXHOST +#define NI_MAXHOST 1025 +#endif + /** * getaddrinfo(host, family, port) |