aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
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)