Skip to content

Commit 619775e

Browse files
Merge pull request #430 from compnerd/it-is-time
dispatch: include `time.h` on windows
2 parents 7874a92 + 8036df3 commit 619775e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dispatch/dispatch.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
#include <unistd.h>
4343
#endif
4444
#include <fcntl.h>
45+
#if defined(_WIN32)
46+
#include <time.h>
47+
#endif
4548

4649
#if (defined(__linux__) || defined(__FreeBSD__)) && defined(__has_feature)
4750
#if __has_feature(modules)

0 commit comments

Comments
 (0)