summaryrefslogtreecommitdiff
path: root/source3/lib/socket_wrapper/socket_wrapper.c
diff options
context:
space:
mode:
authorLove Hörnquist Åstrand <lha@samba.org>2006-10-17 09:35:45 +0000
committerStefan Metzmacher <metze@samba.org>2008-06-10 11:36:37 +0200
commit4084b467c502e8e73567f2f78135a3bb0fe38a43 (patch)
treeec105fd3566e2d8fe8442f4cc913a7d60b801861 /source3/lib/socket_wrapper/socket_wrapper.c
parent4177b0852d122741556cdb2343cd4c56223776c3 (diff)
downloadsamba-4084b467c502e8e73567f2f78135a3bb0fe38a43.tar.gz
samba-4084b467c502e8e73567f2f78135a3bb0fe38a43.tar.bz2
samba-4084b467c502e8e73567f2f78135a3bb0fe38a43.zip
r19367: Solaris needs <sys/filio.h> for FIONREAD.
(cherry picked from commit e2866ce78851a84c937408c0781fcc1e7107f663) (This used to be commit 3db8b246c8abfc4efed08d7630e61a81b9d8bf48)
Diffstat (limited to 'source3/lib/socket_wrapper/socket_wrapper.c')
-rw-r--r--source3/lib/socket_wrapper/socket_wrapper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/socket_wrapper/socket_wrapper.c b/source3/lib/socket_wrapper/socket_wrapper.c
index c0a7c16a2a..beb890d135 100644
--- a/source3/lib/socket_wrapper/socket_wrapper.c
+++ b/source3/lib/socket_wrapper/socket_wrapper.c
@@ -62,6 +62,7 @@
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
+#include <sys/filio.h>
#include <errno.h>
#include <sys/un.h>
#include <netinet/in.h>