summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r--sys/netinet/in.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index 819a827..973d0af 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -306,7 +306,9 @@ struct sockaddr_in {
char sin_zero[8];
};
+#ifndef INET_ADDRSTRLEN
#define INET_ADDRSTRLEN 16
+#endif
/*
* Options for use with [gs]etsockopt at the IP level.
OpenPOWER on IntegriCloud