Fix for OSX clean compile
This commit is contained in:
parent
d733bc3eb9
commit
1d490907ad
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,10 @@
|
|||
|
||||
#include <time.h>
|
||||
|
||||
#if defined (__APPLE__)
|
||||
#define HAVE_STRUCT_TIMESPEC 1 /* OSX defined the structure but doesn't tell us */
|
||||
#endif
|
||||
|
||||
#ifndef CLOCK_REALTIME
|
||||
#define CLOCK_REALTIME 1
|
||||
#define NEED_CLOCK_GETTIME 1
|
||||
|
|
Loading…
Add table
Reference in a new issue