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. --- log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'log.c') diff --git a/log.c b/log.c index 26bd988..7f2d555 100644 --- a/log.c +++ b/log.c @@ -14,6 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "gmid.h" + #include #include #include @@ -21,8 +23,6 @@ #include #include -#include "gmid.h" - void fatal(const char *fmt, ...) { -- cgit v1.2.3