1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:27:35 +00:00

Ports: Add port for SDL2_net

This commit is contained in:
Gunnar Beutner 2021-06-16 11:08:32 +02:00 committed by Andreas Kling
parent f589acaac9
commit dd35bd158e
5 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,11 @@
diff -Naur SDL2_net-2.0.1/SDLnetsys.h SDL2_net-2.0.1.serenity/SDLnetsys.h
--- SDL2_net-2.0.1/SDLnetsys.h 2021-06-16 10:42:24.609750625 +0200
+++ SDL2_net-2.0.1.serenity/SDLnetsys.h 2016-01-03 08:57:09.000000000 +0100
@@ -46,6 +46,7 @@
#include <iphlpapi.h>
#else /* UNIX */
#include <sys/types.h>
+#include <sys/select.h>
#ifdef __FreeBSD__
#include <sys/socket.h>
#endif