summaryrefslogtreecommitdiffstats
path: root/xmrstak/net/socks.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'xmrstak/net/socks.hpp')
-rw-r--r--xmrstak/net/socks.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmrstak/net/socks.hpp b/xmrstak/net/socks.hpp
index 1d25d3a..86749e5 100644
--- a/xmrstak/net/socks.hpp
+++ b/xmrstak/net/socks.hpp
@@ -62,9 +62,8 @@ inline const char* sock_gai_strerror(int err, char* buf, size_t len)
#include <unistd.h> /* Needed for close() */
#include <errno.h>
#include <string.h>
-#if defined(__FreeBSD__)
#include <netinet/in.h> /* Needed for IPPROTO_TCP */
-#endif
+#include <netinet/tcp.h>
inline void sock_init() {}
typedef int SOCKET;
OpenPOWER on IntegriCloud