diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/signal-safe.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/signal-safe.cpp b/src/signal-safe.cpp index 2f377bf7..baee7b44 100644 --- a/src/signal-safe.cpp +++ b/src/signal-safe.cpp @@ -7,6 +7,10 @@ #include <unistd.h> #include <cstring> +// NOLINTNEXTLINE +extern "C" char** environ; + +// char const* sigGetenv(char const* name) { const size_t len = strlen(name); for (char** var = environ; *var != nullptr; var++) { |