aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-01-06 18:36:28 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-01-06 19:05:41 +0300
commit88b7523e13100629f86de7afc099b53dd672d1e4 (patch)
tree1102ce58643b3bb9efda3c0b7661f18dfe917f55
parentcbd62cc2d39557728a1c49b67cdd13951217fd3b (diff)
downloadlibmicrohttpd-88b7523e13100629f86de7afc099b53dd672d1e4.tar.gz
libmicrohttpd-88b7523e13100629f86de7afc099b53dd672d1e4.zip
Fixed compiler warning in examples
-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>