diff options
author | Stef <stef@ws.local> | 2004-03-31 22:25:56 +0000 |
---|---|---|
committer | Stef <stef@ws.local> | 2004-03-31 22:25:56 +0000 |
commit | 5c2430e6896de2139bf8e5e467dd3a6ba527f46a (patch) | |
tree | 1a34083f59731ddb2201ab2aaa74f65257496acb /src/usuals.h | |
parent | 2071258e2c4108ca5bd67a2ffc358a0fddc739b6 (diff) |
Changes for FreeBSD compatibility
Diffstat (limited to 'src/usuals.h')
-rw-r--r-- | src/usuals.h | 12 |
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__ |