Merge pull request #5469 from mysterywolf/simulator

This commit is contained in:
guo 2022-01-04 18:53:26 +08:00 committed by GitHub
commit 126f80e2e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View File

@ -575,6 +575,10 @@ defined in armcc/errno.h
#ifndef EHWPOISON
#define EHWPOISON (ERROR_BASE_NO + 133)
#endif
#endif
#endif
#elif defined(_WIN32)
#include <errno.h>
#endif /* defined(__ARMCC_VERSION) || defined(__IAR_SYSTEMS_ICC__) */
#endif /* __SYS_ERRNO_H__ */

View File

@ -15,6 +15,9 @@
#include <sys/types.h>
#include <stdint.h>
#include <time.h>
#ifdef _WIN32
#include <winsock.h> /* for struct timeval */
#endif
#ifdef __cplusplus
extern "C" {