eo: fix build on macOS
authorJean Guyomarc'h <jean@guyomarch.bzh>
Sat, 3 Dec 2016 11:10:04 +0000 (12:10 +0100)
committerJean Guyomarc'h <jean@guyomarch.bzh>
Sat, 3 Dec 2016 11:10:04 +0000 (12:10 +0100)
Commit 227463bd introduces macOS-specific code, but without including the
header that provides the used declarations.

src/lib/eo/eo.c

index d57c31c..560f269 100644 (file)
@@ -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"