[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 13/14: Fixed compiler warning in examples
From: |
gnunet |
Subject: |
[libmicrohttpd] 13/14: Fixed compiler warning in examples |
Date: |
Thu, 06 Jan 2022 17:07:36 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 88b7523e13100629f86de7afc099b53dd672d1e4
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Jan 6 18:36:28 2022 +0300
Fixed compiler warning in examples
---
doc/examples/sessions.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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 @@
you see fit (Public Domain) */
/* needed for asprintf */
-#define _GNU_SOURCE
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1
+#endif
#include <stdlib.h>
#include <string.h>
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 04/14: Removed unused config.rpath from the root directory, (continued)
- [libmicrohttpd] 04/14: Removed unused config.rpath from the root directory, gnunet, 2022/01/06
- [libmicrohttpd] 07/14: Removed unused acinclude.m4, gnunet, 2022/01/06
- [libmicrohttpd] 02/14: Configure: do not define unused var in Makefiles, gnunet, 2022/01/06
- [libmicrohttpd] 05/14: doc/Makefile: reordered targets and dependencies, gnunet, 2022/01/06
- [libmicrohttpd] 06/14: doc/Makefile: fixed *-local rules, gnunet, 2022/01/06
- [libmicrohttpd] 14/14: Doxygen: changed description of make targets, gnunet, 2022/01/06
- [libmicrohttpd] 09/14: root/.gitignore: cleanup, gnunet, 2022/01/06
- [libmicrohttpd] 10/14: root/.gitignore: updated, gnunet, 2022/01/06
- [libmicrohttpd] 08/14: Makefile: added trick to use pre-dist-hook, gnunet, 2022/01/06
- [libmicrohttpd] 11/14: Makefile: added force update of doc version stamps before 'dist' target, gnunet, 2022/01/06
- [libmicrohttpd] 13/14: Fixed compiler warning in examples,
gnunet <=
- [libmicrohttpd] 12/14: Autotools refactoring: better follow GNU coding standards, gnunet, 2022/01/06