summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-02 14:10:38 -0500
committerpommicket <pommicket@gmail.com>2023-01-02 14:10:38 -0500
commitf791aa01fad7e81223808584212c6a1a4c80ca07 (patch)
treef93d53a62035cdad7f16b97fb28c83c7acfaf14f /util.c
parentc0d0117a963cf8e4dfb28b919087d8a8ecbbca6e (diff)
finish restructuring
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.