aboutsummaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-02-12 12:47:20 +0000
committerOmar Polo <op@omarpolo.com>2021-02-12 12:47:20 +0000
commit52418c8d828bc25e0e84cc25d5e349a84be0b397 (patch)
tree480166acacfecd667dcd69e68df8f6a305792277 /utf8.c
parent3cb3dd4d422cdead2dd09f1e3ce3eff35a9e6dc8 (diff)
fix various compilation errors
Include gmid.h as first header in every file, as it then includes config.h (that defines _GNU_SOURCE for instance). Fix also a warning about unsigned vs signed const char pointers in openssl.
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utf8.c b/utf8.c
index 20985b4..341da33 100644
--- a/utf8.c
+++ b/utf8.c
@@ -21,11 +21,11 @@
* SOFTWARE.
*/
+#include "gmid.h"
+
#include <stddef.h>
#include <stdint.h>
-#include "gmid.h"
-
#define UTF8_ACCEPT 0
#define UTF8_REJECT 1