Skip to content

Commit

Permalink
Fix missing timeval warning in timer.h
Browse files Browse the repository at this point in the history
  • Loading branch information
vkoskiv committed Nov 28, 2023
1 parent b68afbe commit 169717f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ typedef struct timeval {
long tv_sec;
long tv_usec;
} TIMEVAL, *PTIMEVAL, *LPTIMEVAL;
#else
#include <time.h>
#endif

void timer_start(struct timeval *timer);
Expand Down

0 comments on commit 169717f

Please sign in to comment.