We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9021a31 + ee93914 commit 126f80eCopy full SHA for 126f80e
components/libc/compilers/common/nogcc/sys/errno.h
@@ -575,6 +575,10 @@ defined in armcc/errno.h
575
#ifndef EHWPOISON
576
#define EHWPOISON (ERROR_BASE_NO + 133)
577
#endif
578
-#endif
579
580
+#elif defined(_WIN32)
+#include <errno.h>
581
+
582
+#endif /* defined(__ARMCC_VERSION) || defined(__IAR_SYSTEMS_ICC__) */
583
584
+#endif /* __SYS_ERRNO_H__ */
components/libc/compilers/common/sys/time.h
@@ -15,6 +15,9 @@
15
#include <sys/types.h>
16
#include <stdint.h>
17
#include <time.h>
18
+#ifdef _WIN32
19
+#include <winsock.h> /* for struct timeval */
20
+#endif
21
22
#ifdef __cplusplus
23
extern "C" {
0 commit comments