gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 07/156: Fixed compiler warning in examples


From: gnunet
Subject: [libmicrohttpd] 07/156: Fixed compiler warning in examples
Date: Sun, 28 May 2023 17:51:00 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to tag v0.9.77
in repository libmicrohttpd.

commit 0da40e2a2c211793f2b7c479f2499166e61e8593
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]