| diff -bwBurN '--exclude=.*' gcc-arm-none-eabi/arm-none-eabi/include/sys/features.h gcc-arm-none-eabi_mod/arm-none-eabi/include/sys/features.h |
| --- gcc-arm-none-eabi/arm-none-eabi/include/sys/features.h 2022-02-02 19:51:54.000000000 +0800 |
| +++ gcc-arm-none-eabi_mod/arm-none-eabi/include/sys/features.h 2022-02-24 20:14:22.894851118 +0800 |
| @@ -117,7 +117,7 @@ |
| #undef _POSIX_SOURCE |
| #define _POSIX_SOURCE 1 |
| #undef _POSIX_C_SOURCE |
| -#define _POSIX_C_SOURCE 200809L |
| +#define _POSIX_C_SOURCE 199309L |
| #undef _XOPEN_SOURCE |
| #define _XOPEN_SOURCE 700 |
| #undef _XOPEN_SOURCE_EXTENDED |
| diff -bwBurN '--exclude=.*' gcc-arm-none-eabi/arm-none-eabi/include/sys/time.h gcc-arm-none-eabi_mod/arm-none-eabi/include/sys/time.h |
| --- gcc-arm-none-eabi/arm-none-eabi/include/sys/time.h 2022-02-02 19:51:54.000000000 +0800 |
| +++ gcc-arm-none-eabi_mod/arm-none-eabi/include/sys/time.h 2022-02-24 20:18:11.334041401 +0800 |
| @@ -437,7 +437,7 @@ |
| #endif |
| |
| #ifdef _COMPILING_NEWLIB |
| -int _gettimeofday (struct timeval *__p, void *__tz); |
| +int _gettimeofday (struct timeval *__p, struct timezone *__tz); |
| #endif |
| |
| __END_DECLS |
| diff -bwBurN '--exclude=.*' gcc-arm-none-eabi/arm-none-eabi/include/sys/types.h gcc-arm-none-eabi_mod/arm-none-eabi/include/sys/types.h |
| --- gcc-arm-none-eabi/arm-none-eabi/include/sys/types.h 2022-02-02 19:51:54.000000000 +0800 |
| +++ gcc-arm-none-eabi_mod/arm-none-eabi/include/sys/types.h 2022-02-24 20:12:02.823132172 +0800 |
| @@ -220,7 +220,7 @@ |
| typedef __int64_t sbintime_t; |
| |
| #include <sys/features.h> |
| -#include <sys/_pthreadtypes.h> |
| +/*#include <sys/_pthreadtypes.h>*/ |
| #include <machine/types.h> |
| |
| #endif /* !__need_inttypes */ |