diff options
author | madmaxoft <github@xoft.cz> | 2014-01-27 21:33:06 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-01-27 21:33:06 +0100 |
commit | 4169af1ce1a022d364edfa3313aa5a21d594f198 (patch) | |
tree | 6aa54793240fe1daa58dbe09ace91927de54d171 /src | |
parent | Rewritten networking to use non-blocking sockets. (diff) | |
download | cuberite-4169af1ce1a022d364edfa3313aa5a21d594f198.tar cuberite-4169af1ce1a022d364edfa3313aa5a21d594f198.tar.gz cuberite-4169af1ce1a022d364edfa3313aa5a21d594f198.tar.bz2 cuberite-4169af1ce1a022d364edfa3313aa5a21d594f198.tar.lz cuberite-4169af1ce1a022d364edfa3313aa5a21d594f198.tar.xz cuberite-4169af1ce1a022d364edfa3313aa5a21d594f198.tar.zst cuberite-4169af1ce1a022d364edfa3313aa5a21d594f198.zip |
Diffstat (limited to '')
-rw-r--r-- | src/OSSupport/Socket.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/OSSupport/Socket.cpp b/src/OSSupport/Socket.cpp index 3248eed88..064abbab5 100644 --- a/src/OSSupport/Socket.cpp +++ b/src/OSSupport/Socket.cpp @@ -6,7 +6,8 @@ #ifndef _WIN32 #include <netdb.h> #include <unistd.h> - #include <arpa/inet.h> //inet_ntoa() + #include <arpa/inet.h> // inet_ntoa() + #include <sys/ioctl.h> // ioctl() #else #define socklen_t int #endif |