about summary refs log tree commit diff stats
path: root/src/omemo
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-03-26 19:01:56 +0100
committerMichael Vetter <jubalh@iodoru.org>2021-03-26 19:54:04 +0100
commiteaf76555bd4339499f991d9da1158d2957e7fd91 (patch)
tree0b29bcd6bbd5bb5995f771e3f3683342e512d7c6 /src/omemo
parentacda845b2aa212ff19b2b0c10d77a2b7eb090156 (diff)
downloadprofani-tty-eaf76555bd4339499f991d9da1158d2957e7fd91.tar.gz
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!
Diffstat (limited to 'src/omemo')
-rw-r--r--src/omemo/crypto.c2
-rw-r--r--src/omemo/omemo.c2
2 files changed, 4 insertions, 0 deletions
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 <assert.h>
 #include <signal/signal_protocol.h>
 #include <signal/signal_protocol_types.h>
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 <sys/time.h>
 #include <sys/stat.h>