mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-07 13:28:43 +00:00
9b4b569741
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 <sys/select.h> for the declaration. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
12 lines
396 B
Diff
12 lines
396 B
Diff
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"
|