Fix some include directives for POSIX

This commit is contained in:
Julian 2024-02-24 23:56:02 +01:00 committed by GitHub
parent 7797db10c8
commit 142c078ad1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,7 @@
#include <stdexcept>
#include <vector>
#ifndef _WIN32
# include <alloca.h>
# include <unicode/ucnv.h>
# include <unicode/unistr.h>
# include <unicode/utypes.h>

View File

@ -49,9 +49,10 @@
#include <netdb.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <unistd.h>
#include "../common.h"
using SOCKET = int32_t;