crosstool-ng/packages/gcc-linaro/7.1-2017.05/380-gcc-plugin-POSIX-include-sys-select-h.patch
Alexey Neyman 3e47aa1c3a Add gcc-linaro 7.1-2017.05
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-17 12:01:10 -07:00

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"