summaryrefslogtreecommitdiff
path: root/packages/gcc/11.1.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
diff options
context:
space:
mode:
authorspaun2002 <spaun2002mobile@gmail.com>2021-04-28 19:54:25 (GMT)
committerspaun2002 <spaun2002mobile@gmail.com>2021-04-28 21:50:18 (GMT)
commitc4efcd7eaa5d7ba64b80dad06fe496de72ca8b96 (patch)
tree3e20904df460a2e9a5951a110c5e90f5923b41b9 /packages/gcc/11.1.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
parent0528a9d744cc95aac3df40d5a1666f0a1051cf5d (diff)
Initial commit for gcc11
Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
Diffstat (limited to 'packages/gcc/11.1.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch')
-rw-r--r--packages/gcc/11.1.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/gcc/11.1.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch b/packages/gcc/11.1.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
new file mode 100644
index 0000000..3040e23
--- /dev/null
+++ b/packages/gcc/11.1.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"