Skip to content

Commit

Permalink
include time.h after windows.h
Browse files Browse the repository at this point in the history
  • Loading branch information
aklomp committed Jan 9, 2024
1 parent 45ef09a commit ebec7e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/benchmark.c
Expand Up @@ -11,7 +11,6 @@
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>

#ifdef _WIN32
# include <windows.h>
Expand All @@ -23,6 +22,9 @@
# include <unistd.h>
#endif

// Must be included after windows.h
#include <time.h>

#ifdef __MACH__
# include <mach/mach_time.h>
#endif
Expand Down

0 comments on commit ebec7e0

Please sign in to comment.