[PATCH 1/2] In <sys/types.h> optionally provide stdint.h types
Sebastian Huber <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
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