diff --git a/src/compile_cache.cc b/src/compile_cache.cc index e7940c85e9057c..8600804ec75a1e 100644 --- a/src/compile_cache.cc +++ b/src/compile_cache.cc @@ -8,6 +8,10 @@ #include "path.h" #include "zlib.h" +#ifdef NODE_IMPLEMENTS_POSIX_CREDENTIALS +#include // getuid +#endif + namespace node { std::string Uint32ToHex(uint32_t crc) { std::string str;