summaryrefslogtreecommitdiff
path: root/src/usuals.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-03-31 22:25:56 +0000
committerStef Walter <stef@memberwebs.com>2004-03-31 22:25:56 +0000
commit7f4650080fed53e793c6b3754e6f24c13b8e4539 (patch)
tree1a34083f59731ddb2201ab2aaa74f65257496acb /src/usuals.h
parent824c9753297f8b62fca9aef13b1b6b9393a6d934 (diff)
Changes for FreeBSD compatibility
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__