Fix compilation on older OSX versions

This commit is contained in:
Martin Kroeker 2021-03-26 22:29:29 +01:00 committed by GitHub
parent d7efe5857c
commit d57c681a6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@
#include <time.h>
#ifdef __CYGWIN32__
#include <sys/time.h>
#elif defined(__APPLE__)
#include <mach/mach_time.h>
#endif
#include "common.h"