summaryrefslogtreecommitdiff
path: root/source4/lib/replace/system
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-17 10:44:09 -0800
committerStefan Metzmacher <metze@samba.org>2008-01-15 14:27:12 +0100
commitb1fcae724156c2b25f41264943cf4cec8fe68821 (patch)
treef409cd8cd5a4349f8fc72777a74e3761b69b84dc /source4/lib/replace/system
parent645c6518d75c683865a29d1b8c49247a092399da (diff)
downloadsamba-b1fcae724156c2b25f41264943cf4cec8fe68821.tar.gz
samba-b1fcae724156c2b25f41264943cf4cec8fe68821.tar.bz2
samba-b1fcae724156c2b25f41264943cf4cec8fe68821.zip
Fix bug #5121 (unix passwd sync not working on a streams based
system). Jeremy. (lib/replace part of 545cd2139cfc9484b733693814d4724d37125942 metze) (This used to be commit 9cff25cce1d39460dbcab006a309bb2984969eed)
Diffstat (limited to 'source4/lib/replace/system')
-rw-r--r--source4/lib/replace/system/network.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/system/network.h b/source4/lib/replace/system/network.h
index e2fad5f686..53bef66d48 100644
--- a/source4/lib/replace/system/network.h
+++ b/source4/lib/replace/system/network.h
@@ -79,6 +79,10 @@
#include <sys/ioctl.h>
#endif
+#ifdef HAVE_STROPTS_H
+#include <stropts.h>
+#endif
+
#ifdef REPLACE_INET_NTOA
/* define is in "replace.h" */
char *rep_inet_ntoa(struct in_addr ip);