From eaf76555bd4339499f991d9da1158d2957e7fd91 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 26 Mar 2021 19:01:56 +0100 Subject: [PATCH] Include config.h in omemo files So that off_t is defined in all files (so far http_upload.c and http_download.c too) the same way. Fix https://github.com/profanity-im/profanity/issues/1512 Thanks @pasis for finding the solution! --- src/omemo/crypto.c | 2 ++ src/omemo/omemo.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/omemo/crypto.c b/src/omemo/crypto.c index a4a2d5fc..0423d9da 100644 --- a/src/omemo/crypto.c +++ b/src/omemo/crypto.c @@ -32,6 +32,8 @@ * source files in the program, then also delete it here. * */ +#include "config.h" + #include #include #include diff --git a/src/omemo/omemo.c b/src/omemo/omemo.c index 69c96003..a552cd57 100644 --- a/src/omemo/omemo.c +++ b/src/omemo/omemo.c @@ -33,6 +33,8 @@ * source files in the program, then also delete it here. * */ +#include "config.h" + #include #include