summaryrefslogtreecommitdiff
path: root/Ports/aria2/patches/0001-Include-sys-select.h-in-src-SelectEventPoll.cc.patch
diff options
context:
space:
mode:
authorEWouters <6179932+EWouters@users.noreply.github.com>2022-04-14 01:46:46 +0200
committerLinus Groh <mail@linusgroh.de>2022-08-14 18:24:30 +0100
commit1712b6b3eda1faeca7abefcadf2ab8578dc54a70 (patch)
tree06b56927d53255f5855dc9b656fa7b05c34d22d1 /Ports/aria2/patches/0001-Include-sys-select.h-in-src-SelectEventPoll.cc.patch
parentca0e32e59fcf67a662e5d3a994d44cd7c941624a (diff)
downloadserenity-1712b6b3eda1faeca7abefcadf2ab8578dc54a70.zip
Ports: Add port aria2 version 1.36.0
Diffstat (limited to 'Ports/aria2/patches/0001-Include-sys-select.h-in-src-SelectEventPoll.cc.patch')
-rw-r--r--Ports/aria2/patches/0001-Include-sys-select.h-in-src-SelectEventPoll.cc.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/Ports/aria2/patches/0001-Include-sys-select.h-in-src-SelectEventPoll.cc.patch b/Ports/aria2/patches/0001-Include-sys-select.h-in-src-SelectEventPoll.cc.patch
new file mode 100644
index 0000000000..0027399325
--- /dev/null
+++ b/Ports/aria2/patches/0001-Include-sys-select.h-in-src-SelectEventPoll.cc.patch
@@ -0,0 +1,21 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: EWouters <6179932+EWouters@users.noreply.github.com>
+Date: Thu, 14 Apr 2022 00:22:19 +0200
+Subject: [PATCH] Include sys/select.h in src/SelectEventPoll.cc
+
+---
+ src/SelectEventPoll.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/SelectEventPoll.cc b/src/SelectEventPoll.cc
+index d9397b2..49b1f03 100644
+--- a/src/SelectEventPoll.cc
++++ b/src/SelectEventPoll.cc
+@@ -40,6 +40,7 @@
+ #include <cstring>
+ #include <algorithm>
+ #include <numeric>
++#include <sys/select.h>
+
+ #include "Command.h"
+ #include "LogFactory.h"