summaryrefslogtreecommitdiff
path: root/docs/examples/sac-example-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/sac-example-1.c')
-rw-r--r--docs/examples/sac-example-1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/examples/sac-example-1.c b/docs/examples/sac-example-1.c
index c7fd410..6e30eaa 100644
--- a/docs/examples/sac-example-1.c
+++ b/docs/examples/sac-example-1.c
@@ -9,7 +9,7 @@
*
*To compile this file, type:
*
- *gcc -g -o sac-example-1 `croco-config --cflags` `croco-config --libs` sac-example-1.c
+ *gcc -g -Wall -o sac-example-1 `croco-config --cflags` `croco-config --libs` sac-example-1.c
*
*Make sure you have compiled and installed libcroco prior to trying to
*compile this file :)
@@ -23,7 +23,8 @@
*Initial Author: Dodji Seketeli <Dodji 47 seketeli dot org>
*/
-#include <libcroco.h>
+#include <string.h>
+#include <libcroco/libcroco.h>
/**
*This is a callback function that will