diff --git a/src/signal-safe.cpp b/src/signal-safe.cpp index 2f377bf70..baee7b44b 100644 --- a/src/signal-safe.cpp +++ b/src/signal-safe.cpp @@ -7,6 +7,10 @@ #include #include +// NOLINTNEXTLINE +extern "C" char** environ; + +// char const* sigGetenv(char const* name) { const size_t len = strlen(name); for (char** var = environ; *var != nullptr; var++) {