From b09047b78e981af8ade6a72d426bfcb0e742995b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 13 Oct 2007 20:24:37 +0200 Subject: r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes. (This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf) --- source4/torture/local/resolve.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/torture') diff --git a/source4/torture/local/resolve.c b/source4/torture/local/resolve.c index 9b8050eac1..b87b59b81a 100644 --- a/source4/torture/local/resolve.c +++ b/source4/torture/local/resolve.c @@ -23,6 +23,7 @@ #include "lib/events/events.h" #include "libcli/resolve/resolve.h" #include "torture/torture.h" +#include "system/network.h" static bool test_async_resolve(struct torture_context *tctx) { @@ -68,7 +69,7 @@ static bool test_sync_resolve(struct torture_context *tctx) torture_comment(tctx, "Testing sync resolve of '%s' for %d seconds\n", host, timelimit); while (timeval_elapsed(&tv) < timelimit) { - sys_inet_ntoa(interpret_addr2(host)); + inet_ntoa(interpret_addr2(host)); count++; } -- cgit