summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2008-11-19 17:29:49 -0800
committerTim Prouty <tprouty@samba.org>2008-11-20 13:11:59 -0800
commit2b85288e82d33cc62b1d669d50daad93e008711a (patch)
tree6c6a3cbbd942661cc81dda5d4ec9b69fde682593
parent293372ff8d32a48d764171ecca3a8c55dfe0e818 (diff)
downloadsamba-2b85288e82d33cc62b1d669d50daad93e008711a.tar.gz
samba-2b85288e82d33cc62b1d669d50daad93e008711a.tar.bz2
samba-2b85288e82d33cc62b1d669d50daad93e008711a.zip
s3 build: Fix incomplete types warnings
-rw-r--r--lib/util/util.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/util/util.h b/lib/util/util.h
index ec1cfef110..dced557acb 100644
--- a/lib/util/util.h
+++ b/lib/util/util.h
@@ -21,6 +21,8 @@
#ifndef _SAMBA_UTIL_H_
#define _SAMBA_UTIL_H_
+#include <netinet/in.h>
+
#if _SAMBA_BUILD_ == 4
#include "../lib/util/charset/charset.h"
#endif
@@ -124,9 +126,6 @@ void CatchChildLeaveStatus(void);
/* The following definitions come from lib/util/system.c */
-
-struct in_addr;
-
/**************************************************************************
A wrapper for gethostbyname() that tries avoids looking up hostnames
in the root domain, which can cause dial-on-demand links to come up for no