crosstool-ng/packages/gcc/10.2.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
Hans-Christian Noren Egtvedt 45a01960fc Add support for GCC 10.2.0
Forward ported patches from GCC 9.x, refreshed to match current sources.

Patch 0010-crystax.patch did not apply clean and had minor adjustments
to fit new GCC 10.2.0 release.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2020-08-27 11:35:59 +02:00

15 lines
333 B
Diff

---
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"