diff options
| -rw-r--r-- | Source/Core/Core/IOS/Network/Socket.h | 14 |
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 |
