summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Log.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Log.hpp b/src/Log.hpp
index 066b758..f2c1f72 100644
--- a/src/Log.hpp
+++ b/src/Log.hpp
@@ -29,7 +29,7 @@
# include <crtdbg.h>
# include <io.h>
#endif
-#ifdef __linux__
+#if defined(__linux__) || defined(__GNU__) || defined(__FreeBSD__)
# include <unistd.h>
#endif
#include <iostream>