summaryrefslogtreecommitdiff
path: root/packages/gcc/11.2.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
diff options
context:
space:
mode:
authorgraysky <graysky@archlinux.us>2021-07-28 18:30:56 (GMT)
committergraysky <graysky@archlinux.us>2021-07-28 18:53:00 (GMT)
commit329c45eb5817c52ac2e4f18d8caee14e0a897d10 (patch)
tree4a7796e16f5d251b272019ddeae8f375d7dc7222 /packages/gcc/11.2.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
parent283142c032c60c11ba0a9ec8c355a0d9138c6814 (diff)
gcc: bump to 11.2
Signed-off-by: John Audia <graysky@archlinux.us>
Diffstat (limited to 'packages/gcc/11.2.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch')
-rw-r--r--packages/gcc/11.2.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/gcc/11.2.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch b/packages/gcc/11.2.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
new file mode 100644
index 0000000..3040e23
--- /dev/null
+++ b/packages/gcc/11.2.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
@@ -0,0 +1,14 @@
+---
+ libcc1/connection.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/libcc1/connection.cc
++++ b/libcc1/connection.cc
+@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3.
+ #include <string>
+ #include <unistd.h>
+ #include <sys/types.h>
++#include <sys/select.h>
+ #include <string.h>
+ #include <errno.h>
+ #include "marshall.hh"