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:
parent
7574dc0258
commit
98260975c0
5 changed files with 65 additions and 25 deletions
24
Ports/SDL2_net/patches/0002-Include-sys-select.h.patch
Normal file
24
Ports/SDL2_net/patches/0002-Include-sys-select.h.patch
Normal 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue