aboutsummaryrefslogtreecommitdiffstats
path: root/endpoints.c
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov@twistea.su>2025-03-24 08:30:16 +0300
committerjustanothercatgirl <sotov@twistea.su>2025-03-24 08:30:16 +0300
commit8542ec17d3df989f3df9fd03af7a447bf730dc13 (patch)
tree796f070ef2d22d0d8d75fd25f3ce6613a0ce15ab /endpoints.c
parent787ef64ce61302a159ad48974272533b6fdf6c9e (diff)
added json dependency
Diffstat (limited to 'endpoints.c')
-rw-r--r--endpoints.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/endpoints.c b/endpoints.c
index 9a02098..789f48a 100644
--- a/endpoints.c
+++ b/endpoints.c
@@ -3,6 +3,10 @@
#include "microhttpd.h"
+#define CONTAINER_IMPLEMENTATION
+#define JACSON_IMPLEMENTATION
+#include <jacson.h>
+
// not accessible in browser because ALL URLs start with / (or with _ in dylib)
char* duplicate(const char* x) {
size_t len = strlen(x);