git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd30906
)
r25597: HPUX doesn't have INET_ADDRSTRLEN defined
author
Stefan Metzmacher
<metze@samba.org>
Wed, 10 Oct 2007 07:18:24 +0000
(07:18 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 20:08:02 +0000
(15:08 -0500)
metze
source/lib/replace/system/network.h
patch
|
blob
|
history
diff --git
a/source/lib/replace/system/network.h
b/source/lib/replace/system/network.h
index 877f5f25e61bcbcbd6a2a4626cb6db347a1aa77a..02942f9a4435bf574b1b4a249f12a32823123b64 100644
(file)
--- a/
source/lib/replace/system/network.h
+++ b/
source/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