From 52418c8d828bc25e0e84cc25d5e349a84be0b397 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Fri, 12 Feb 2021 12:47:20 +0000 Subject: 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. --- mime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mime.c') diff --git a/mime.c b/mime.c index f8fdd67..7fb444d 100644 --- a/mime.c +++ b/mime.c @@ -14,12 +14,12 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "gmid.h" + #include #include #include -#include "gmid.h" - void init_mime(struct mime *mime) { -- cgit v1.2.3