aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-07-13 08:44:49 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-07-13 08:44:49 +0300
commit915f37b5ad202dfeb51999faba5a2849318ebea2 (patch)
treeb281755545c935349565f9b2dedeedeee9fe3dc1 /examples
parent2aabe59373c29410c00ae59cd86cb475c961b56c (diff)
downloadmagi-915f37b5ad202dfeb51999faba5a2849318ebea2.tar
magi-915f37b5ad202dfeb51999faba5a2849318ebea2.tar.xz
magi-915f37b5ad202dfeb51999faba5a2849318ebea2.zip
Unnecessary headers removed.
Diffstat (limited to 'examples')
-rw-r--r--examples/cookie.c1
-rw-r--r--examples/echo.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/cookie.c b/examples/cookie.c
index 7cb5f33..7253185 100644
--- a/examples/cookie.c
+++ b/examples/cookie.c
@@ -3,6 +3,7 @@
* showing work with headers in magi.
*/
#include <magi.h>
+#include <stdio.h>
void list_cookies(magi_request *r)
diff --git a/examples/echo.c b/examples/echo.c
index 4f6975a..3598986 100644
--- a/examples/echo.c
+++ b/examples/echo.c
@@ -1,6 +1,7 @@
/* This is useful example echoing request data in response.
*/
#include <magi.h>
+#include <stdio.h>
void list_cookies(magi_request *r)