net: Drop unneeded headers when compat.h included

This commit is contained in:
Hennadii Stepanov committed 2020-10-22 21:45:20 +03:00
1 parent 467c346448
commit f796f0057b
2 files changed
-12

No files matched your search

-7
View File
@@ -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;
-5
View File
@@ -33,11 +33,6 @@
#include <memory>
#include <condition_variable>
#ifndef WIN32
#include <arpa/inet.h>
#endif
class CScheduler;
class CNode;
class BanMan;