diff --git a/document.cpp b/document.cpp index 6f8d83c8..755a0be9 100644 --- a/document.cpp +++ b/document.cpp @@ -6,6 +6,7 @@ #include #include #include +#include namespace Sass { diff --git a/win32/unistd.h b/win32/unistd.h index 88ce1442..2ded7f1a 100644 --- a/win32/unistd.h +++ b/win32/unistd.h @@ -9,8 +9,9 @@ #include #include -#include /* for getpid() and the exec..() family */ -#include /* for _getcwd() */ +#include /* for getpid() and the exec..() family */ +#include /* for _getcwd() */ +#include /* for _S_IFDIR */ #define srandom srand #define random rand @@ -25,6 +26,7 @@ #define access _access #define ftruncate _chsize #define getcwd _getcwd +#define S_ISDIR(B) ((B)&_S_IFDIR) #define STDIN_FILENO 0 #define STDOUT_FILENO 1