summaryrefslogtreecommitdiff
path: root/patches/gcc/7.1.0/380-gcc-plugin-POSIX-include-sys-select-h.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-05-14 16:51:28 (GMT)
committerGitHub <noreply@github.com>2017-05-14 16:51:28 (GMT)
commitef762bfe8e1ec9063d645b1745dc8843997b7767 (patch)
treeb0a2fecc4e9b70316b134cb6202644824599f08f /patches/gcc/7.1.0/380-gcc-plugin-POSIX-include-sys-select-h.patch
parent968b6918a2e00134077a2603f33451cfa617f44d (diff)
parent842915db44b2a41486dc5ea0212ddfc19093fe32 (diff)
Merge pull request #716 from stilor/gcc7
Add GCC 7.1.0
Diffstat (limited to 'patches/gcc/7.1.0/380-gcc-plugin-POSIX-include-sys-select-h.patch')
-rw-r--r--patches/gcc/7.1.0/380-gcc-plugin-POSIX-include-sys-select-h.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/gcc/7.1.0/380-gcc-plugin-POSIX-include-sys-select-h.patch b/patches/gcc/7.1.0/380-gcc-plugin-POSIX-include-sys-select-h.patch
new file mode 100644
index 0000000..12ef48e
--- /dev/null
+++ b/patches/gcc/7.1.0/380-gcc-plugin-POSIX-include-sys-select-h.patch
@@ -0,0 +1,11 @@
+diff -urN gcc-5.3.0.orig/libcc1/connection.cc gcc-5.3.0/libcc1/connection.cc
+--- gcc-5.3.0.orig/libcc1/connection.cc 2015-12-19 14:40:20.860479600 +0000
++++ gcc-5.3.0/libcc1/connection.cc 2015-12-20 01:31:04.346611500 +0000
+@@ -21,6 +21,7 @@
+ #include <string>
+ #include <unistd.h>
+ #include <sys/types.h>
++#include <sys/select.h>
+ #include <string.h>
+ #include <errno.h>
+ #include "marshall.hh"