From 9b4b569741f820b4b8ff725dc37f0323dbe0ead8 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Tue, 1 Dec 2015 00:15:49 +0000 Subject: POSIX: Fix GCC 5+ plugin build failure on Cygwin Cygwin follows POSIX IEEE Std 1003.1, 2004 Edition spec for the select() fuction as described at: http://pubs.opengroup.org/onlinepubs/009695399/functions/pselect.html .. so we must #include for the declaration. Signed-off-by: Ray Donnelly diff --git a/patches/gcc/5.3.0/380-gcc-plugin-POSIX-include-sys-select-h.patch b/patches/gcc/5.3.0/380-gcc-plugin-POSIX-include-sys-select-h.patch new file mode 100644 index 0000000..12ef48e --- /dev/null +++ b/patches/gcc/5.3.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 + #include + #include ++#include + #include + #include + #include "marshall.hh" -- cgit v0.10.2-6-g49f6