linux build

This commit is contained in:
gamingdoom committed 2023-10-17 18:53:01 -07:00
1 parent f98ff3f502
commit a91735531a
3 files changed
+5 -3

No files matched your search

+2
View File
@@ -7,6 +7,7 @@
///
#include <string>
#if defined(_WIN32)
#include <winsock2.h>
#elif defined(__linux__)
@@ -14,6 +15,7 @@
#include <netdb.h>
#include <arpa/inet.h>
#endif
#include "Logger.h"
std::string GetAddr(const std::string&IP){