From 64f231b73edbb1ca6dad84f729e4603eaf5f527d Mon Sep 17 00:00:00 2001
From: a1ive <10670106+a1ive@users.noreply.github.com>
Date: Thu, 13 Feb 2025 21:50:15 +0900
Subject: [PATCH] fix charset build
---
charset.c | 2 +-
include/charset.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/charset.c b/charset.c
index bd5ed05..5aebce1 100644
--- a/charset.c
+++ b/charset.c
@@ -16,7 +16,7 @@
* along with ntloader. If not, see .
*/
-#include
+#include "charset.h"
static inline int
is_utf8_trailing_octet (uint8_t c)
diff --git a/include/charset.h b/include/charset.h
index 80f2c49..e136c5f 100644
--- a/include/charset.h
+++ b/include/charset.h
@@ -20,6 +20,7 @@
#define _CHARSET_H 1
#include
+#include
uint16_t *
utf8_to_ucs2 (uint16_t *dest, size_t destsize, const uint8_t *src);