Files
ladybird/Ports/mruby/patches/0001-Include-sys-select.h.patch
2022-05-19 20:17:10 +04:30

25 lines
654 B
Diff

From 2570626cb58a59e45251dffa409547919dc23df2 Mon Sep 17 00:00:00 2001
From: Dante Catalfamo <dante.catalfamo@gmail.com>
Date: Fri, 20 Aug 2021 00:38:31 -0400
Subject: [PATCH 1/2] Include sys/select.h
---
mrbgems/mruby-io/src/io.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mrbgems/mruby-io/src/io.c b/mrbgems/mruby-io/src/io.c
index 0469c05..0dae6ca 100644
--- a/mrbgems/mruby-io/src/io.c
+++ b/mrbgems/mruby-io/src/io.c
@@ -49,6 +49,7 @@
#include <sys/wait.h>
#include <sys/time.h>
#include <unistd.h>
+ #include <sys/select.h>
typedef size_t fsize_t;
typedef time_t ftime_t;
typedef suseconds_t fsuseconds_t;
--
2.36.1