summaryrefslogtreecommitdiff
path: root/packages/picolibc/1.5.1/0000-libc-Remove-include-sys-select.h-from-sys-types.h.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2022-02-11 02:00:59 (GMT)
committerAlexey Neyman <stilor@att.net>2022-02-11 08:47:51 (GMT)
commit86c2982568de1ad4d4cc12a65b19231331484405 (patch)
tree2e0b3fb78c30877c0c152d59d0e0fff817b73822 /packages/picolibc/1.5.1/0000-libc-Remove-include-sys-select.h-from-sys-types.h.patch
parent1210b0c2f45e32ef0867ca00e16b6aadb6a81bf9 (diff)
Run patches thru `manage-packages -P`
This refreshes the line numbers, removes any fuzz (which would make any future forward ports easier) and standardizes the patch/file headers (which makes them easier to read). Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/picolibc/1.5.1/0000-libc-Remove-include-sys-select.h-from-sys-types.h.patch')
-rw-r--r--packages/picolibc/1.5.1/0000-libc-Remove-include-sys-select.h-from-sys-types.h.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/picolibc/1.5.1/0000-libc-Remove-include-sys-select.h-from-sys-types.h.patch b/packages/picolibc/1.5.1/0000-libc-Remove-include-sys-select.h-from-sys-types.h.patch
new file mode 100644
index 0000000..658d2e4
--- /dev/null
+++ b/packages/picolibc/1.5.1/0000-libc-Remove-include-sys-select.h-from-sys-types.h.patch
@@ -0,0 +1,25 @@
+From 9d0640874425e9f3f265c9baff7a47139b25ea7d Mon Sep 17 00:00:00 2001
+From: Keith Packard <keithp@keithp.com>
+Date: Thu, 14 Jan 2021 17:54:22 -0800
+Subject: [PATCH 1/2] libc: Remove #include <sys/select.h> from sys/types.h
+
+picolibc's sys/select.h is likely to be replaced by the underlying
+operating system version (as it is on Zephyr). Don't include it from
+sys/types.h as that version may depend on other definitions in
+sys/types.h which haven't yet been defined.
+
+Signed-off-by: Keith Packard <keithp@keithp.com>
+---
+ newlib/libc/include/sys/types.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+--- a/newlib/libc/include/sys/types.h
++++ b/newlib/libc/include/sys/types.h
+@@ -75,7 +75,6 @@
+
+ #if __BSD_VISIBLE
+ #include <machine/endian.h>
+-#include <sys/select.h>
+ # define physadr physadr_t
+ # define quad quad_t
+