]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - utf8lib.h
curves.c and .h: Remove whitespace at the top of both files
[xonotic/darkplaces.git] / utf8lib.h
index 275366e64a2c418f7f1420956e66f67f10e70e3d..f54547764981b299f3419b028540d16853461746 100644 (file)
--- a/utf8lib.h
+++ b/utf8lib.h
@@ -4,6 +4,7 @@
 #ifndef UTF8LIB_H__
 #define UTF8LIB_H__
 
+#include <stddef.h>
 #include "qtypes.h"
 
 // types for unicode strings
@@ -19,7 +20,7 @@ typedef int32_t Uchar;
 // a non-utf8 version to work: u8_strlen() will wrap to strlen()
 // u8_byteofs() and u8_charidx() will simply return whatever is passed as index parameter
 // u8_getchar() will will just return the next byte, u8_fromchar will write one byte, ...
-extern cvar_t    utf8_enable;
+extern struct cvar_s utf8_enable;
 void   u8_Init(void);
 
 size_t u8_strlen(const char*);