summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/util.c b/util.c
index 8cd1527..0c1c1c3 100644
--- a/util.c
+++ b/util.c
@@ -1,3 +1,7 @@
+#include "base.h"
+#include "util.h"
+#include "unicode.h"
+
#if _WIN32
#include <intrin.h>
#include <direct.h>
@@ -6,10 +10,7 @@
#else
#error "Unrecognized operating system."
#endif
-
-#include "base.h"
-#include "util.h"
-#include "unicode.h"
+#include <wctype.h>
// on 16-bit systems, this is 16383. on 32/64-bit systems, this is 1073741823
// it is unusual to have a string that long.