summaryrefslogtreecommitdiffstats
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-02 03:44:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:15 -0500
commitf4ec1497a1047eab8a2077694c7629ca6bb9eaa4 (patch)
tree048961f22f64b0166a7d18483134c64ce9023e5b /source4/lib
parent6148deca663f7b6504b044120b166d6c9ae28750 (diff)
downloadsamba-f4ec1497a1047eab8a2077694c7629ca6bb9eaa4.tar.gz
samba-f4ec1497a1047eab8a2077694c7629ca6bb9eaa4.tar.xz
samba-f4ec1497a1047eab8a2077694c7629ca6bb9eaa4.zip
r3455: some more portability fixes. We nearly compile on solaris again now.
(This used to be commit 4f33247f1ca60416415a61a7afac43c9dc8a61fd)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/replace.c b/source4/lib/replace.c
index 60faa473b64..35e0277c59b 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];