aboutsummaryrefslogtreecommitdiff
path: root/packages/gcc/14.3.0/0001-gcc-plugin-POSIX-include-sys-select-h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc/14.3.0/0001-gcc-plugin-POSIX-include-sys-select-h.patch')
-rw-r--r--packages/gcc/14.3.0/0001-gcc-plugin-POSIX-include-sys-select-h.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/gcc/14.3.0/0001-gcc-plugin-POSIX-include-sys-select-h.patch b/packages/gcc/14.3.0/0001-gcc-plugin-POSIX-include-sys-select-h.patch
new file mode 100644
index 00000000..181d6332
--- /dev/null
+++ b/packages/gcc/14.3.0/0001-gcc-plugin-POSIX-include-sys-select-h.patch
@@ -0,0 +1,17 @@
+---
+ libcc1/connection.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libcc1/connection.cc b/libcc1/connection.cc
+index 175e7a176b9e..60e37c2ce0c5 100644
+--- a/libcc1/connection.cc
++++ b/libcc1/connection.cc
+@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see
+ #include <string>
+ #include <unistd.h>
+ #include <sys/types.h>
++#include <sys/select.h>
+ #include <string.h>
+ #include <errno.h>
+ #include "marshall.hh"
+