diff --git a/src/runtime/c/pgf/pgf.cxx b/src/runtime/c/pgf/pgf.cxx index e91f165d4..eefdfffca 100644 --- a/src/runtime/c/pgf/pgf.cxx +++ b/src/runtime/c/pgf/pgf.cxx @@ -1,6 +1,9 @@ #include #include #include +#ifdef WIN32 +#include +#endif #include "data.h" #include "reader.h" @@ -85,7 +88,7 @@ PgfDB *pgf_boot_ngf(const char* pgf_path, const char* ngf_path, #ifndef _WIN32 S_IRUSR | S_IWUSR #else - 0 + _S_IREAD | _S_IWRITE #endif );