summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2016-12-03 12:10:04 +0100
committerJean Guyomarc'h <jean@guyomarch.bzh>2016-12-03 12:10:04 +0100
commitdeda8ac8e7db8355d95d487e86389a2207b633aa (patch)
tree8729a1fcf0e22de0aade5244524df6c88bc59027
parent2de9f552b9e54533a36dec285b9bfedcb6acc3f4 (diff)
downloadefl-deda8ac8e7db8355d95d487e86389a2207b633aa.tar.gz
eo: fix build on macOS
Commit 227463bd introduces macOS-specific code, but without including the header that provides the used declarations.
-rw-r--r--src/lib/eo/eo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index d57c31c56a..560f269cb1 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -8,6 +8,10 @@
#include <Eina.h>
+#if defined(__APPLE__) && defined(__MACH__)
+# include <mach/mach_time.h>
+#endif
+
#include "Eo.h"
#include "eo_ptr_indirection.h"
#include "eo_private.h"