[PATCH 1/2] In <sys/types.h> optionally provide stdint.h types

Sebastian Huber sebastian.huber@embedded-brains.de
Wed May 4 08:10:47 GMT 2022


Provide stdint.h types if BSD visibility is requested.
---
 newlib/libc/include/sys/types.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h
index 42e98ce97..9e858f1ce 100644
--- a/newlib/libc/include/sys/types.h
+++ b/newlib/libc/include/sys/types.h
@@ -48,6 +48,7 @@ typedef __intptr_t register_t;
 #if __BSD_VISIBLE
 #include <machine/endian.h>
 #include <sys/select.h>
+#include <sys/_stdint.h>
 #  define	physadr		physadr_t
 #  define	quad		quad_t
 
-- 
2.34.1



More information about the Newlib mailing list