diff options
Diffstat (limited to '')
| -rw-r--r-- | lang/cpp/src/editinteractor.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/cpp/src/editinteractor.cpp b/lang/cpp/src/editinteractor.cpp index 36d1be63..774903d4 100644 --- a/lang/cpp/src/editinteractor.cpp +++ b/lang/cpp/src/editinteractor.cpp @@ -41,6 +41,7 @@  #include <cerrno>  #include <cstring> +#include <cstdlib>  #ifndef GPG_ERR_ALREADY_SIGNED  # define GPG_ERR_ALREADY_SIGNED GPG_ERR_USER_1 @@ -178,7 +179,7 @@ EditInteractor::Private::Private(EditInteractor *qq)        error(),        debug(nullptr)  { -    const char *debug_env = getenv("GPGMEPP_INTERACTOR_DEBUG"); +    const char *debug_env = std::getenv("GPGMEPP_INTERACTOR_DEBUG");      if (!debug_env) {          return;      }  | 
