summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-10-10 07:18:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:08:02 -0500
commit39f5745c16e294d95591edb44645ca9751fcee9c (patch)
tree7bc4e1182ddadf73356af8408182b0766dd970b7
parent26d4d7543b3603b9c3c56d3982460303df766737 (diff)
downloadsamba-39f5745c16e294d95591edb44645ca9751fcee9c.tar.gz
samba-39f5745c16e294d95591edb44645ca9751fcee9c.tar.bz2
samba-39f5745c16e294d95591edb44645ca9751fcee9c.zip
r25597: HPUX doesn't have INET_ADDRSTRLEN defined
metze (This used to be commit f9696109cc8f4646599f73b78e1eacd94d1a6c2c)
-rw-r--r--source4/lib/replace/system/network.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/system/network.h b/source4/lib/replace/system/network.h
index 877f5f25e6..02942f9a44 100644
--- a/source4/lib/replace/system/network.h
+++ b/source4/lib/replace/system/network.h
@@ -110,4 +110,8 @@ char *rep_inet_ntoa(struct in_addr ip);
#define INADDR_NONE 0xffffffff
#endif
+#ifndef INET_ADDRSTRLEN
+#define INET_ADDRSTRLEN 16
+#endif
+
#endif