diff options
author | metze <metze@0c0555d6-39d7-0310-84fc-f1cc0bd64818> | 2007-10-10 12:09:06 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-10-15 13:19:28 +0200 |
commit | 804396dce9112361c0e19ad2e15b9bb8dd23c378 (patch) | |
tree | 1676cc74c8d210d374e9c1ebe07c172593062912 /source3/lib/replace/system | |
parent | d3a7f49c6f68e740aa42b586efd687c840f963ff (diff) | |
download | samba-804396dce9112361c0e19ad2e15b9bb8dd23c378.tar.gz samba-804396dce9112361c0e19ad2e15b9bb8dd23c378.tar.bz2 samba-804396dce9112361c0e19ad2e15b9bb8dd23c378.zip |
don't imply "system/network.h" within replace.h,
as this brings in the socket_wrapper.h in unexpected
code and we endup with a missing 'swrap_close' while linking
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25602 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit ec8e3f7f92522c65ec472058321db8a7ac30ec4c)
Diffstat (limited to 'source3/lib/replace/system')
-rw-r--r-- | source3/lib/replace/system/network.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/source3/lib/replace/system/network.h b/source3/lib/replace/system/network.h index c2a5dec5af..10e9f66bd9 100644 --- a/source3/lib/replace/system/network.h +++ b/source3/lib/replace/system/network.h @@ -86,8 +86,18 @@ #endif #ifdef REPLACE_INET_NTOA +/* define is in "replace.h" */ char *rep_inet_ntoa(struct in_addr ip); -#define inet_ntoa rep_inet_ntoa +#endif + +#ifndef HAVE_INET_PTON +/* define is in "replace.h" */ +int rep_inet_pton(int af, const char *src, void *dst); +#endif + +#ifndef HAVE_INET_NTOP +/* define is in "replace.h" */ +const char *rep_inet_ntop(int af, const void *src, char *dst, socklen_t size); #endif /* |