gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

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