aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/yosys.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/yosys.cc')
-rw-r--r--kernel/yosys.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/yosys.cc b/kernel/yosys.cc
index f314f546a..e9b113dd2 100644
--- a/kernel/yosys.cc
+++ b/kernel/yosys.cc
@@ -33,6 +33,9 @@
# include <io.h>
#elif defined(__APPLE__)
# include <mach-o/dyld.h>
+# include <unistd.h>
+# include <dirent.h>
+# include <sys/stat.h>
#else
# include <unistd.h>
# include <dirent.h>