summaryrefslogtreecommitdiff
path: root/source3/lib/replace/system
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-17 10:44:09 -0800
committerJeremy Allison <jra@samba.org>2007-12-17 10:44:09 -0800
commit8f28bda7f8c18de597d345126c9ee03e99776e55 (patch)
treea93a0c31912194314a3ee4d8a4d7156e7e27f756 /source3/lib/replace/system
parentd20608c8f314476ca7dde8a9a61495431b4bccff (diff)
downloadsamba-8f28bda7f8c18de597d345126c9ee03e99776e55.tar.gz
samba-8f28bda7f8c18de597d345126c9ee03e99776e55.tar.bz2
samba-8f28bda7f8c18de597d345126c9ee03e99776e55.zip
Fix bug #5121 (unix passwd sync not working on a streams based
system). Jeremy. (This used to be commit 545cd2139cfc9484b733693814d4724d37125942)
Diffstat (limited to 'source3/lib/replace/system')
-rw-r--r--source3/lib/replace/system/network.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/replace/system/network.h b/source3/lib/replace/system/network.h
index d3ae2bf398..9087c02da1 100644
--- a/source3/lib/replace/system/network.h
+++ b/source3/lib/replace/system/network.h
@@ -78,6 +78,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);