summaryrefslogtreecommitdiffstats
path: root/lib/src/name.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/name.h')
-rw-r--r--lib/src/name.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/src/name.h b/lib/src/name.h
index 0fe8f7446..434b563b8 100644
--- a/lib/src/name.h
+++ b/lib/src/name.h
@@ -35,8 +35,13 @@
******************************************************************************/
/* Presentation format */
+#ifndef INET_ADDRSTRLEN
#define INET_ADDRSTRLEN 16
+#endif
+
+#ifndef INET6_ADDRSTRLEN
#define INET6_ADDRSTRLEN 46
+#endif
//#define INET_MAX_ADDRSTRLEN INET6_ADDRSTRLEN
/* Address size */