修复Linux下编译问题

This commit is contained in:
xiongziliang 2018-11-06 23:17:44 +08:00
parent ef436f6c34
commit fcbf869237

View File

@ -26,8 +26,11 @@
#include "WebSocketSplitter.h"
#include <sys/types.h>
//#include <sys/socket.h>
//#include <arpa/inet.h>
#if !defined(_WIN32)
#include <sys/socket.h>
#include <arpa/inet.h>
#endif //!defined(_WIN32)
#include "Util/logger.h"
#include "Util/util.h"
using namespace toolkit;