@@ -49,7 +49,7 @@ extern "C" {
typedef MBEDTLS_PLATFORM_TIME_TYPE_MACRO mbedtls_time_t;
#else
/* For time_t */
-#include <time.h>
+#include <sys/time.h>
typedef time_t mbedtls_time_t;
#endif /* MBEDTLS_PLATFORM_TIME_TYPE_MACRO */
@@ -46,6 +46,10 @@
#include <time.h>
#endif
+#ifdef _WIN32
+#define SIGALRM 14
+#endif
+
struct _hr_time
{
struct timeval start;
@@ -33,6 +33,12 @@
#include <string.h>
+#if defined(_WIN32)
+#define SIGPIPE 13
+#undef _WIN32
#if (defined(_WIN32) || defined(_WIN32_WCE)) && !defined(EFIX64) && \
!defined(EFI32)