summaryrefslogtreecommitdiff
path: root/open-vm-tools/services/plugins/vix/vixToolsInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'open-vm-tools/services/plugins/vix/vixToolsInt.h')
-rw-r--r--open-vm-tools/services/plugins/vix/vixToolsInt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/open-vm-tools/services/plugins/vix/vixToolsInt.h b/open-vm-tools/services/plugins/vix/vixToolsInt.h
index b710a01a..e7739d61 100644
--- a/open-vm-tools/services/plugins/vix/vixToolsInt.h
+++ b/open-vm-tools/services/plugins/vix/vixToolsInt.h
@@ -41,6 +41,8 @@
#endif
+extern char *gImpersonatedUsername;
+#define IMPERSONATED_USERNAME ((gImpersonatedUsername) ? gImpersonatedUsername : "Unset")
typedef struct VixToolsEnvIterator VixToolsEnvIterator;