From e1c8d3a1e61f903b577b5a97a341e4da89ce9f6b Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Wed, 23 Oct 2024 14:39:23 +0300 Subject: [PATCH] win32: include/sys/types.h: add useconds_t Required by unistd.h in the auxiliary package: winapi-full-for-0.9.27.zip --- win32/include/sys/types.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/win32/include/sys/types.h b/win32/include/sys/types.h index 7379b0f1..144fb107 100644 --- a/win32/include/sys/types.h +++ b/win32/include/sys/types.h @@ -102,6 +102,11 @@ typedef _mode_t mode_t; #endif #endif +/* required by (unbundled) unistd.h for usleep arg type */ +#ifndef __NO_ISOCEXT +typedef unsigned int useconds_t; +#endif + #ifndef _TIMESPEC_DEFINED #define _TIMESPEC_DEFINED struct timespec {