diff --git a/profiler/src/IsElevated.cpp b/profiler/src/IsElevated.cpp index 2f257b72..88d26c4b 100644 --- a/profiler/src/IsElevated.cpp +++ b/profiler/src/IsElevated.cpp @@ -24,9 +24,11 @@ bool IsElevated() #else +#include + bool IsElevated() { - return false; + return getuid() == 0; } #endif