summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-05 04:58:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:10 -0500
commit5d363fa0ddcb8d6c6f13e4e975ce260c40780092 (patch)
tree891f71817b791fabaac2d2c789e88f0656c0ce27 /source4/lib/replace/replace.c
parentbd35940710efa8cda09a75b273ce19900312997d (diff)
downloadsamba-5d363fa0ddcb8d6c6f13e4e975ce260c40780092.tar.gz
samba-5d363fa0ddcb8d6c6f13e4e975ce260c40780092.tar.bz2
samba-5d363fa0ddcb8d6c6f13e4e975ce260c40780092.zip
r18061: this should fix the libreplace build on us4 with gcc
(This used to be commit 71c0a0731c52458105974e9ad727b7ba403fd992)
Diffstat (limited to 'source4/lib/replace/replace.c')
-rw-r--r--source4/lib/replace/replace.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.c b/source4/lib/replace/replace.c
index b1154fb7a2..b9c106d582 100644
--- a/source4/lib/replace/replace.c
+++ b/source4/lib/replace/replace.c
@@ -31,6 +31,14 @@
#include <sys/types.h>
#include <fcntl.h>
+#if HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
+#if HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+
void replace_dummy(void);
void replace_dummy(void) {}