aboutsummaryrefslogtreecommitdiff
path: root/doc/examples/sessions.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/sessions.c')
-rw-r--r--doc/examples/sessions.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/examples/sessions.c b/doc/examples/sessions.c
index 6d6cf5ba..db311bd4 100644
--- a/doc/examples/sessions.c
+++ b/doc/examples/sessions.c
@@ -2,7 +2,9 @@
2 you see fit (Public Domain) */ 2 you see fit (Public Domain) */
3 3
4/* needed for asprintf */ 4/* needed for asprintf */
5#define _GNU_SOURCE 5#ifndef _GNU_SOURCE
6#define _GNU_SOURCE 1
7#endif
6 8
7#include <stdlib.h> 9#include <stdlib.h>
8#include <string.h> 10#include <string.h>