aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/AllCommands.cxx (renamed from src/command.c)8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/command.c b/src/AllCommands.cxx
index 26a918141..762ae73d7 100644
--- a/src/command.c
+++ b/src/AllCommands.cxx
@@ -28,16 +28,18 @@
#include "MessageCommands.hxx"
#include "OtherCommands.hxx"
#include "CommandError.h"
-#include "protocol/argparser.h"
-#include "protocol/result.h"
#include "permission.h"
-#include "tokenizer.h"
#include "tag.h"
+
+extern "C" {
+#include "protocol/result.h"
+#include "tokenizer.h"
#include "client.h"
#ifdef ENABLE_SQLITE
#include "sticker.h"
#endif
+}
#include <assert.h>
#include <string.h>