summaryrefslogtreecommitdiff
path: root/include/lldb/Host/PosixApi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Host/PosixApi.h')
-rw-r--r--include/lldb/Host/PosixApi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lldb/Host/PosixApi.h b/include/lldb/Host/PosixApi.h
index 02324307dc9e5..d5c48dd6d1705 100644
--- a/include/lldb/Host/PosixApi.h
+++ b/include/lldb/Host/PosixApi.h
@@ -16,6 +16,8 @@
#if defined(_WIN32)
#include "lldb/Host/windows/PosixApi.h"
+#else
+#include <unistd.h>
#endif
#endif