diff options
Diffstat (limited to 'src/common/socket.cpp')
-rw-r--r-- | src/common/socket.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/common/socket.cpp b/src/common/socket.cpp index c877b2b..50c08a0 100644 --- a/src/common/socket.cpp +++ b/src/common/socket.cpp @@ -1,21 +1,19 @@ #include "socket.hpp" -#include <netinet/in.h> +#include <arpa/inet.h> #include <netinet/tcp.h> #include <sys/socket.h> -#include <sys/time.h> -#include <sys/types.h> +//#include <sys/types.h> #include <fcntl.h> #include <unistd.h> -#include <cerrno> -#include <cstdio> #include <cstdlib> #include <cstring> +#include <ctime> #include "cxxstdio.hpp" -#include "mmo.hpp" +//#include "mmo.hpp" #include "utils.hpp" #include "../poison.hpp" |