summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJoshua Vandaƫle <joshua@vandaele.software>2026-07-16 22:11:17 +0200
committerJoshua Vandaƫle <joshua@vandaele.software>2026-07-25 05:19:26 +0200
commit32c5f09767d8d0cf830fe7e1d9ff904aa5e1d04d (patch)
tree5f1e2e44c8e7ac87be687ddfca1a5e59c0c6c687 /Source/Core
parentf1a639b12bcbdf59fbdad06d68efac00a65899b0 (diff)
Socket: Resolve incorrect include warning
This is a musl warning, according to fcntl.h's man page, the include should always be <fcntl.h> anyways
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/IOS/Network/Socket.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/Source/Core/Core/IOS/Network/Socket.h b/Source/Core/Core/IOS/Network/Socket.h
index 88a018dc9c..3617e244ce 100644
--- a/Source/Core/Core/IOS/Network/Socket.h
+++ b/Source/Core/Core/IOS/Network/Socket.h
@@ -17,23 +17,19 @@ typedef pollfd pollfd_t;
#elif defined(__linux__) or defined(__APPLE__) or defined(__FreeBSD__) or defined(__NetBSD__) or \
defined(__OpenBSD__) or defined(__HAIKU__)
#include <arpa/inet.h>
-#include <netdb.h>
-#include <sys/ioctl.h>
-#include <sys/socket.h>
-#include <sys/types.h>
-#if defined(ANDROID) || defined(__HAIKU__)
#include <fcntl.h>
-#else
-#include <sys/fcntl.h>
-#endif
#include <net/if.h>
+#include <netdb.h>
#include <netinet/in.h>
#include <poll.h>
+#include <sys/ioctl.h>
+#include <sys/socket.h>
+#include <sys/types.h>
typedef struct pollfd pollfd_t;
#else
+#include <fcntl.h>
#include <netinet/in.h>
-#include <sys/fcntl.h>
#include <sys/socket.h>
#include <sys/types.h>
#endif