Skip to content

Commit

Permalink
src: add unitsd.h import if node posix credentials is defined
Browse files Browse the repository at this point in the history
usage comment
  • Loading branch information
JonasBa committed Aug 23, 2024
1 parent 9edf4a0 commit 1f2f13d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/compile_cache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
#include "path.h"
#include "zlib.h"

#ifdef NODE_IMPLEMENTS_POSIX_CREDENTIALS
#include <unistd.h> // getuid
#endif

namespace node {
std::string Uint32ToHex(uint32_t crc) {
std::string str;
Expand Down

0 comments on commit 1f2f13d

Please sign in to comment.