diff --git a/ispc.cpp b/ispc.cpp index 5be419ab..ae090f20 100644 --- a/ispc.cpp +++ b/ispc.cpp @@ -44,6 +44,8 @@ #include #include #define strcasecmp stricmp +#else +#include #endif #include #include diff --git a/lex.ll b/lex.ll index 9bf768e4..6cd1daaf 100644 --- a/lex.ll +++ b/lex.ll @@ -58,6 +58,8 @@ extern void RegisterDependency(const std::string &fileName); #ifdef ISPC_IS_WINDOWS inline int isatty(int) { return 0; } +#else +#include #endif // ISPC_IS_WINDOWS static int allTokens[] = { diff --git a/main.cpp b/main.cpp index 23825e2d..ca51d6cb 100644 --- a/main.cpp +++ b/main.cpp @@ -43,6 +43,8 @@ #include #ifdef ISPC_IS_WINDOWS #include +#else + #include #endif // ISPC_IS_WINDOWS #include #include