diff options
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/replace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/replace.c b/source4/lib/replace.c index 60faa473b6..35e0277c59 100644 --- a/source4/lib/replace.c +++ b/source4/lib/replace.c @@ -21,6 +21,7 @@ #include "includes.h" #include "system/wait.h" #include "system/time.h" +#include "system/network.h" void replace_dummy(void); void replace_dummy(void) {} @@ -328,7 +329,7 @@ duplicate a string #ifndef WITH_PTHREADS /* REWRITE: not thread safe */ #ifdef REPLACE_INET_NTOA -char *rep_inet_ntoa(struct ipv4_addr ip) + char *rep_inet_ntoa(struct in_addr ip) { uint8_t *p = (uint8_t *)&ip.s_addr; static char buf[18]; |