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

@ -8,13 +8,13 @@
#pragma once
#include <bits/types/siginfo_t.h>
#include <string>
#include <sys/ucontext.h>
#ifdef __linux__
#include <cstdint>
#include "linuxfixes.h"
#include <bits/types/siginfo_t.h>
#include <sys/ucontext.h>
#endif

View File

@ -14,9 +14,9 @@
#include <pwd.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <unistd.h>
#endif
#include <unistd.h>
#include <Security/Init.h>
#include <filesystem>
#include "Startup.h"

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