File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2222
2323#include < algorithm>
2424#include < cassert>
25+ #include < cstdlib>
2526
2627#include < errno.h>
2728#include < string.h>
@@ -150,7 +151,7 @@ const std::string& GetFallbackRootSys() {
150151
151152#ifdef ROOTPREFIX
152153static bool IgnorePrefix () {
153- static bool ignorePrefix = ::getenv (" ROOTIGNOREPREFIX" );
154+ static bool ignorePrefix = std ::getenv (" ROOTIGNOREPREFIX" );
154155 return ignorePrefix;
155156}
156157#endif
@@ -164,7 +165,7 @@ const std::string& GetRootSys() {
164165#endif
165166 static std::string rootsys;
166167 if (rootsys.empty ()) {
167- if (const char * envValue = ::getenv (" ROOTSYS" )) {
168+ if (const char * envValue = std ::getenv (" ROOTSYS" )) {
168169 rootsys = envValue;
169170 // We cannot use gSystem->UnixPathName.
170171 ConvertToUnixPath (rootsys);
You can’t perform that action at this time.
0 commit comments