diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2019-05-01 18:20:07 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2019-05-04 23:45:43 +0100 |
commit | 6d1d29a92b9726c8f960d96cd3d896d314963341 (patch) | |
tree | f4405a7aa414f245fcaba5ce919f6c4f15cf786b /src | |
parent | 06cc5aa5a9f507bc1a5643854dcab33ad6d14761 (diff) |
Provide suseconds_t typedef on Win32
Fix compilation on Win32 after cf9e8c73, where timeval is not defined in
terms of that type, but a plain long.
Diffstat (limited to 'src')
-rw-r--r-- | src/NextEvent.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/NextEvent.c b/src/NextEvent.c index 824429c..365c298 100644 --- a/src/NextEvent.c +++ b/src/NextEvent.c @@ -75,6 +75,9 @@ in this Software without prior written authorization from The Open Group. #include <stdio.h> #include <errno.h> +#ifdef _WIN32 +typedef long suseconds_t; +#endif static TimerEventRec* freeTimerRecs; static WorkProcRec* freeWorkRecs; |