mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
move sys socket in unix only macro
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#include "Controller.h"
|
||||
|
||||
#include "Utils/Platform.hpp"
|
||||
#include <sys/socket.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <ws2tcpip.h>
|
||||
@@ -9,6 +8,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/socket.h>
|
||||
#ifndef __APPLE__
|
||||
#include <sys/prctl.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user