1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:37:36 +00:00

Ports: Update SDL2_net's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 19:21:27 +04:30 committed by Ali Mohammad Pur
parent 7574dc0258
commit 98260975c0
5 changed files with 65 additions and 25 deletions

View file

@ -0,0 +1,24 @@
From 5827fd456bcd7747fca2bb4f447c59ce7886a061 Mon Sep 17 00:00:00 2001
From: Gunnar Beutner <gbeutner@serenityos.org>
Date: Wed, 16 Jun 2021 11:08:32 +0200
Subject: [PATCH 2/2] Include sys/select.h
---
SDLnetsys.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/SDLnetsys.h b/SDLnetsys.h
index 6f6dfae..bd9139d 100644
--- a/SDLnetsys.h
+++ b/SDLnetsys.h
@@ -46,6 +46,7 @@ typedef int socklen_t;
#include <iphlpapi.h>
#else /* UNIX */
#include <sys/types.h>
+#include <sys/select.h>
#ifdef __FreeBSD__
#include <sys/socket.h>
#endif
--
2.36.1