summaryrefslogtreecommitdiff
path: root/src/sys-socket.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2017-03-28 01:57:16 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2017-03-28 02:17:33 -0400
commit4796313efc0824652239f1036362d61add11eb49 (patch)
tree85a528a2fd17ca3830a0939c6f5cd926e001fa86 /src/sys-socket.h
parente1164797318234d1f24bba269f2b16099d26ef36 (diff)
downloadlighttpd-git-4796313efc0824652239f1036362d61add11eb49.tar.gz
[core] collect ioctl FIONREAD code
include <sys/ioctl.h> in files which use ioctl() instead of exposing header in local header "sys-socket.h"
Diffstat (limited to 'src/sys-socket.h')
-rw-r--r--src/sys-socket.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/sys-socket.h b/src/sys-socket.h
index c6cdff2e..7f2a4082 100644
--- a/src/sys-socket.h
+++ b/src/sys-socket.h
@@ -10,10 +10,8 @@
#define EINPROGRESS WSAEINPROGRESS
#define EALREADY WSAEALREADY
#define ECONNABORTED WSAECONNABORTED
-#define ioctl ioctlsocket
#else
#include <sys/socket.h>
-#include <sys/ioctl.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <sys/un.h>
@@ -21,10 +19,6 @@
#include <netdb.h>
-#ifdef HAVE_SYS_FILIO_H
-#include <sys/filio.h> /* FIONREAD (for illumos (OpenIndiana)) */
-#endif
-
#endif
#endif