summaryrefslogtreecommitdiff
path: root/src/usuals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/usuals.h')
-rw-r--r--src/usuals.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/usuals.h b/src/usuals.h
index fcc696d..8a58660 100644
--- a/src/usuals.h
+++ b/src/usuals.h
@@ -42,7 +42,19 @@
#define NULL 0
#endif
+#include "config.h"
+
#include <stdlib.h>
#include <assert.h>
+#include <wchar.h>
+#include <string>
+using std::string;
+
+#if HAVE_WSTRING
+using std::wstring;
+#else
+typedef std::basic_string<wchar_t> wstring;
+#endif
+
#endif // __USUALS_H__