diff --git a/server/main.cpp b/server/main.cpp index b9111c4..d75f87e 100644 --- a/server/main.cpp +++ b/server/main.cpp @@ -1,14 +1,16 @@ /* * @Author: your name * @Date: 2021-06-30 10:02:04 - * @LastEditTime: 2021-07-05 00:57:32 + * @LastEditTime: 2021-07-05 22:48:29 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \server\main.cpp */ #include #include "tcp_server_libevent.h" -#include "winsock2.h" +#ifdef WIN32 +#include +#endif #include #include #include