aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/CurrentUser.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/CurrentUser.h')
-rw-r--r--win/rfb_win32/CurrentUser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/rfb_win32/CurrentUser.h b/win/rfb_win32/CurrentUser.h
index 9c020887..37fa65b2 100644
--- a/win/rfb_win32/CurrentUser.h
+++ b/win/rfb_win32/CurrentUser.h
@@ -26,6 +26,7 @@
#ifndef __RFB_WIN32_CURRENT_USER_H__
#define __RFB_WIN32_CURRENT_USER_H__
+#include <rfb/util.h>
#include <rfb_win32/Handle.h>
#include <rfb_win32/Security.h>
@@ -66,7 +67,7 @@ namespace rfb {
// Returns the name of the user the thread is currently running as.
// Raises a SystemException in case of error.
- struct UserName : public TCharArray {
+ struct UserName : public CharArray {
UserName();
};