X-Git-Url: http://git.samba.org/?a=blobdiff_plain;f=source%2Flib%2Freplace%2Freplace.h;fp=source%2Flib%2Freplace%2Freplace.h;h=45902657a24013ea4aa833170019cb6e489b94ae;hb=ec8e3f7f92522c65ec472058321db8a7ac30ec4c;hp=3dc10db59fbe902ef7244d929d3753d35ec45bed;hpb=29eb4d0e2d8ce4a0bd2a081265417684c8c69d6d;p=jpeach%2Fsamba.git diff --git a/source/lib/replace/replace.h b/source/lib/replace/replace.h index 3dc10db59fb..45902657a24 100644 --- a/source/lib/replace/replace.h +++ b/source/lib/replace/replace.h @@ -326,15 +326,19 @@ ssize_t rep_pread(int __fd, void *__buf, size_t __nbytes, off_t __offset); ssize_t rep_pwrite(int __fd, const void *__buf, size_t __nbytes, off_t __offset); #endif +#ifdef REPLACE_INET_NTOA +#define inet_ntoa rep_inet_ntoa +/* prototype is in "system/network.h" */ +#endif + #ifndef HAVE_INET_PTON -int rep_inet_pton(int af, const char *src, void *dst); #define inet_pton rep_inet_pton +/* prototype is in "system/network.h" */ #endif #ifndef HAVE_INET_NTOP -#include "system/network.h" -const char *rep_inet_ntop(int af, const void *src, char *dst, socklen_t size); #define inet_ntop rep_inet_ntop +/* prototype is in "system/network.h" */ #endif #ifdef HAVE_LIMITS_H