summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 6e5fe09..3858e13 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1,6 +1,8 @@
1/* snac - A simple, minimalistic ActivityPub instance */ 1/* snac - A simple, minimalistic ActivityPub instance */
2/* copyright (c) 2022 - 2023 grunfink / MIT license */ 2/* copyright (c) 2022 - 2023 grunfink / MIT license */
3 3
4#ifndef NO_MASTODON_API
5
4#include "xs.h" 6#include "xs.h"
5#include "xs_encdec.h" 7#include "xs_encdec.h"
6#include "xs_openssl.h" 8#include "xs_openssl.h"
@@ -1453,3 +1455,5 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path,
1453 1455
1454 return status; 1456 return status;
1455} 1457}
1458
1459#endif /* #ifndef NO_MASTODON_API */