aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-10-22 18:41:39 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-10-22 21:45:20 +0300
commitf796f0057bc7dad8e7065831b07f432fc0fb9f08 (patch)
tree801704b3b043a4f6c0ef6830c1f0b1b8ab358e85 /src/httpserver.cpp
parent467c34644861a5267601255650e27c7aadab31dc (diff)
net: Drop unneeded headers when compat.h included
Diffstat (limited to 'src/httpserver.cpp')
-rw-r--r--src/httpserver.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/httpserver.cpp b/src/httpserver.cpp
index 1e5ea2de83..0a8e58ab67 100644
--- a/src/httpserver.cpp
+++ b/src/httpserver.cpp
@@ -33,13 +33,6 @@
#include <support/events.h>
-#ifdef EVENT__HAVE_NETINET_IN_H
-#include <netinet/in.h>
-#ifdef _XOPEN_SOURCE_EXTENDED
-#include <arpa/inet.h>
-#endif
-#endif
-
/** Maximum size of http request (request line + headers) */
static const size_t MAX_HEADERS_SIZE = 8192;