linux build

This commit is contained in:
gamingdoom
2023-10-17 18:52:30 -07:00
parent f98ff3f502
commit a91735531a
3 changed files with 5 additions and 3 deletions

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){