diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-03-26 20:07:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 20:07:18 +0100 |
commit | a09d49d884578fdaea01f9ff4be0fcc9f0fe7746 (patch) | |
tree | 5c0759911a5444888d77d549e324f106a00bf011 | |
parent | acda845b2aa212ff19b2b0c10d77a2b7eb090156 (diff) | |
parent | 057c9ad7766b15fd0f188989fc190f32abace2dd (diff) | |
download | profani-tty-a09d49d884578fdaea01f9ff4be0fcc9f0fe7746.tar.gz |
Merge pull request #1514 from profanity-im/fix/1512-rpi
Include config.h in omemo files
44 files changed, 88 insertions, 0 deletions
diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c index a4338143..cd684f19 100644 --- a/src/command/cmd_ac.c +++ b/src/command/cmd_ac.c @@ -34,6 +34,8 @@ * */ +#include "config.h" + #define _GNU_SOURCE 1 #include <stdlib.h> diff --git a/src/config/account.c b/src/config/account.c index 627c4a1c..d8029052 100644 --- a/src/config/account.c +++ b/src/config/account.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <string.h> #include <assert.h> diff --git a/src/config/accounts.c b/src/config/accounts.c index 88828da9..6c876055 100644 --- a/src/config/accounts.c +++ b/src/config/accounts.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <string.h> diff --git a/src/config/conflists.c b/src/config/conflists.c index 944ada62..148d3ac4 100644 --- a/src/config/conflists.c +++ b/src/config/conflists.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <string.h> #include <glib.h> diff --git a/src/config/scripts.c b/src/config/scripts.c index 22b3080c..3f006f77 100644 --- a/src/config/scripts.c +++ b/src/config/scripts.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <errno.h> #include <string.h> diff --git a/src/config/tlscerts.c b/src/config/tlscerts.c index 55a3fa1b..10d33c72 100644 --- a/src/config/tlscerts.c +++ b/src/config/tlscerts.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <string.h> diff --git a/src/database.c b/src/database.c index 56e28135..7c4dc12d 100644 --- a/src/database.c +++ b/src/database.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #define _GNU_SOURCE 1 #include <sys/stat.h> diff --git a/src/event/common.c b/src/event/common.c index d7b13c19..408630ce 100644 --- a/src/event/common.c +++ b/src/event/common.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include "config/tlscerts.h" #include "ui/ui.h" #include "xmpp/chat_session.h" diff --git a/src/log.c b/src/log.c index 10ca6389..6dfc089a 100644 --- a/src/log.c +++ b/src/log.c @@ -34,6 +34,8 @@ * */ +#include "config.h" + #include <assert.h> #include <errno.h> #include <fcntl.h> 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> diff --git a/src/otr/otr.c b/src/otr/otr.c index 0b925642..1cf1072c 100644 --- a/src/otr/otr.c +++ b/src/otr/otr.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <libotr/proto.h> #include <libotr/privkey.h> #include <libotr/message.h> diff --git a/src/otr/otrlibv3.c b/src/otr/otrlibv3.c index 0d1389f7..c6e7c275 100644 --- a/src/otr/otrlibv3.c +++ b/src/otr/otrlibv3.c @@ -32,6 +32,8 @@ * source files in the program, then also delete it here. * */ +#include "config.h" + #include <libotr/proto.h> #include <libotr/privkey.h> #include <libotr/message.h> diff --git a/src/otr/otrlibv4.c b/src/otr/otrlibv4.c index 38b39df4..d735eb74 100644 --- a/src/otr/otrlibv4.c +++ b/src/otr/otrlibv4.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <libotr/proto.h> #include <libotr/privkey.h> #include <libotr/message.h> diff --git a/src/plugins/api.c b/src/plugins/api.c index ee5ceb77..2c8983aa 100644 --- a/src/plugins/api.c +++ b/src/plugins/api.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <string.h> #include <assert.h> diff --git a/src/plugins/autocompleters.c b/src/plugins/autocompleters.c index f5686eb0..1a9a0f2b 100644 --- a/src/plugins/autocompleters.c +++ b/src/plugins/autocompleters.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <string.h> #include <glib.h> diff --git a/src/plugins/c_api.c b/src/plugins/c_api.c index 0aa1a49e..0f236074 100644 --- a/src/plugins/c_api.c +++ b/src/plugins/c_api.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <string.h> #include <glib.h> diff --git a/src/plugins/c_plugins.c b/src/plugins/c_plugins.c index ba731cf3..a9e98e12 100644 --- a/src/plugins/c_plugins.c +++ b/src/plugins/c_plugins.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <dlfcn.h> #include <stdlib.h> #include <assert.h> diff --git a/src/plugins/callbacks.c b/src/plugins/callbacks.c index 3d5d6e48..92c0a9f4 100644 --- a/src/plugins/callbacks.c +++ b/src/plugins/callbacks.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <string.h> #include <stdlib.h> diff --git a/src/plugins/disco.c b/src/plugins/disco.c index 40dcde38..0bb715b2 100644 --- a/src/plugins/disco.c +++ b/src/plugins/disco.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <string.h> #include <stdlib.h> diff --git a/src/plugins/profapi.c b/src/plugins/profapi.c index 77a1e26a..75475631 100644 --- a/src/plugins/profapi.c +++ b/src/plugins/profapi.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include "plugins/profapi.h" diff --git a/src/plugins/settings.c b/src/plugins/settings.c index 75ca2feb..2b99c9cf 100644 --- a/src/plugins/settings.c +++ b/src/plugins/settings.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <string.h> #include <stdlib.h> diff --git a/src/plugins/themes.c b/src/plugins/themes.c index f75e41c7..98139453 100644 --- a/src/plugins/themes.c +++ b/src/plugins/themes.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <glib.h> diff --git a/src/tools/autocomplete.c b/src/tools/autocomplete.c index 07689907..9a809984 100644 --- a/src/tools/autocomplete.c +++ b/src/tools/autocomplete.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> diff --git a/src/tools/http_common.c b/src/tools/http_common.c index e066a6f6..cd24c57e 100644 --- a/src/tools/http_common.c +++ b/src/tools/http_common.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #define _GNU_SOURCE 1 #include <stdlib.h> diff --git a/src/tools/parser.c b/src/tools/parser.c index c251c13a..98dc5809 100644 --- a/src/tools/parser.c +++ b/src/tools/parser.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <string.h> diff --git a/src/ui/confwin.c b/src/ui/confwin.c index 5dc57923..6c8b98c7 100644 --- a/src/ui/confwin.c +++ b/src/ui/confwin.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <assert.h> #include <stdlib.h> diff --git a/src/ui/console.c b/src/ui/console.c index a2f5db60..9f4d6248 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -34,6 +34,8 @@ * */ +#include "config.h" + #include <string.h> #include <stdlib.h> #include <assert.h> diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c index a3300ab4..aa692ff6 100644 --- a/src/ui/mucwin.c +++ b/src/ui/mucwin.c @@ -34,6 +34,8 @@ * */ +#include "config.h" + #include "ui.h" #define _GNU_SOURCE 1 diff --git a/src/ui/occupantswin.c b/src/ui/occupantswin.c index f72d1567..4ceb5575 100644 --- a/src/ui/occupantswin.c +++ b/src/ui/occupantswin.c @@ -34,6 +34,8 @@ * */ +#include "config.h" + #include <assert.h> #include "config/preferences.h" diff --git a/src/ui/privwin.c b/src/ui/privwin.c index 23fde3e7..73ef61a0 100644 --- a/src/ui/privwin.c +++ b/src/ui/privwin.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <assert.h> #include <glib.h> #include <stdlib.h> diff --git a/src/ui/rosterwin.c b/src/ui/rosterwin.c index 67e3db9b..5c41fc82 100644 --- a/src/ui/rosterwin.c +++ b/src/ui/rosterwin.c @@ -34,6 +34,8 @@ * */ +#include "config.h" + #include <assert.h> #include <stdlib.h> #include <string.h> diff --git a/src/ui/xmlwin.c b/src/ui/xmlwin.c index cee8f21a..fccbe27f 100644 --- a/src/ui/xmlwin.c +++ b/src/ui/xmlwin.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <assert.h> #include <string.h> diff --git a/src/xmpp/avatar.c b/src/xmpp/avatar.c index 6adcaa24..25889a75 100644 --- a/src/xmpp/avatar.c +++ b/src/xmpp/avatar.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <glib.h> #include <string.h> #include <stdio.h> diff --git a/src/xmpp/blocking.c b/src/xmpp/blocking.c index 036e2582..34614679 100644 --- a/src/xmpp/blocking.c +++ b/src/xmpp/blocking.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <string.h> diff --git a/src/xmpp/chat_session.c b/src/xmpp/chat_session.c index 56d92862..f62f090c 100644 --- a/src/xmpp/chat_session.c +++ b/src/xmpp/chat_session.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <string.h> #include <assert.h> diff --git a/src/xmpp/chat_state.c b/src/xmpp/chat_state.c index ad236a43..2ebe7459 100644 --- a/src/xmpp/chat_state.c +++ b/src/xmpp/chat_state.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <assert.h> diff --git a/src/xmpp/contact.c b/src/xmpp/contact.c index cb1b7f05..f31fb16e 100644 --- a/src/xmpp/contact.c +++ b/src/xmpp/contact.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <assert.h> #include <stdlib.h> #include <string.h> diff --git a/src/xmpp/jid.c b/src/xmpp/jid.c index 32743cb4..33c3d19f 100644 --- a/src/xmpp/jid.c +++ b/src/xmpp/jid.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <string.h> diff --git a/src/xmpp/muc.c b/src/xmpp/muc.c index 0e42bef5..76e28003 100644 --- a/src/xmpp/muc.c +++ b/src/xmpp/muc.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <stdlib.h> #include <string.h> #include <assert.h> diff --git a/src/xmpp/omemo.c b/src/xmpp/omemo.c index 917e6f19..be81ba62 100644 --- a/src/xmpp/omemo.c +++ b/src/xmpp/omemo.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <glib.h> #include "log.h" diff --git a/src/xmpp/ox.c b/src/xmpp/ox.c index 7a823bf0..e1fb1738 100644 --- a/src/xmpp/ox.c +++ b/src/xmpp/ox.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <glib.h> #include <assert.h> diff --git a/src/xmpp/resource.c b/src/xmpp/resource.c index 9e8e1a8b..007a97c0 100644 --- a/src/xmpp/resource.c +++ b/src/xmpp/resource.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <assert.h> #include <stdlib.h> #include <string.h> diff --git a/src/xmpp/roster_list.c b/src/xmpp/roster_list.c index f0d4ba86..04d16a17 100644 --- a/src/xmpp/roster_list.c +++ b/src/xmpp/roster_list.c @@ -33,6 +33,8 @@ * */ +#include "config.h" + #include <string.h> #include <stdlib.h> #include <assert.h> |