diff --git a/src/compile_cache.cc b/src/compile_cache.cc index f5588fa99d5394..0843fb5dca7b46 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;