From 9bfb13f1d282e7c81b9f75c28af36b0fc4e4c54e Mon Sep 17 00:00:00 2001 From: luca Date: Fri, 1 Jul 2016 11:15:02 +0200 Subject: [PATCH] fix OSX compilation --- src/uvw/timer.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/uvw/timer.hpp b/src/uvw/timer.hpp index 246e474e..fb552ac9 100644 --- a/src/uvw/timer.hpp +++ b/src/uvw/timer.hpp @@ -5,7 +5,9 @@ #include #include #include -#include "error.h" +#if not defined(__APPLE__) + #include "error.h" +#endif #include "handle.hpp" #include "util.hpp"