summaryrefslogtreecommitdiffstats
path: root/contrib/libucl/tests/test_speed.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libucl/tests/test_speed.c')
-rw-r--r--contrib/libucl/tests/test_speed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/libucl/tests/test_speed.c b/contrib/libucl/tests/test_speed.c
index cbf290c..56f2e5a 100644
--- a/contrib/libucl/tests/test_speed.c
+++ b/contrib/libucl/tests/test_speed.c
@@ -32,8 +32,10 @@
#include <time.h>
#ifdef __APPLE__
+#ifdef HAVE_MACH_MACH_TIME_H
#include <mach/mach_time.h>
#endif
+#endif
#include "ucl.h"
OpenPOWER on IntegriCloud