crosstool-ng/packages/gcc/8.4.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
Chris Packham 1b29292f89 gcc: Remove nested 8.3.0 directory
When GCC was updated to 8.4.0 the patches were moved incorrectly. Fix
this now so that they will be picked up.

Fixes: commit 31ca84ac ("Update to gcc 8.4.0")
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-05-01 15:27:50 +12:00

15 lines
294 B
Diff

---
libcc1/connection.cc | 1 +
1 file changed, 1 insertion(+)
--- a/libcc1/connection.cc
+++ b/libcc1/connection.cc
@@ -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"