1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 02:47:35 +00:00

Ports/ninja: Update ninja to version 1.10.2

The sys-select-for-pselect patch was upstreamed in
b191404828.
:^)
This commit is contained in:
EWouters 2022-04-01 04:52:19 +02:00 committed by Brian Gianforcaro
parent ccc9550114
commit d6ce3a842c
3 changed files with 3 additions and 27 deletions

View file

@ -1,24 +0,0 @@
diff --git a/src/subprocess-posix.cc b/src/subprocess-posix.cc
index 1de22c3..02b1b7e 100644
--- a/src/subprocess-posix.cc
+++ b/src/subprocess-posix.cc
@@ -17,13 +17,18 @@
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
-#include <poll.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <sys/wait.h>
#include <spawn.h>
+#if defined(USE_PPOLL)
+#include <poll.h>
+#else
+#include <sys/select.h>
+#endif
+
extern char** environ;
#include "util.h"