diff options
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -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 */ | ||