[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.
- [libmicrohttpd] tag v0.9.77 created (now 19fb1171), gnunet, 2023/05/28
- [libmicrohttpd] 03/156: bump MHD_VERSION to indicate development version, gnunet, 2023/05/28
- [libmicrohttpd] 04/156: configure: clarified license message, gnunet, 2023/05/28
- [libmicrohttpd] 02/156: Updated ChangeLog and NEWS for v0.9.76, gnunet, 2023/05/28
- [libmicrohttpd] 01/156: Bump LIB_VERSION_REVISION missing in 0.9.76 release, gnunet, 2023/05/28
- [libmicrohttpd] 06/156: automake: use right automake options, gnunet, 2023/05/28
- [libmicrohttpd] 08/156: test_upgrade{,_large}: fixed use of uninitialized value, gnunet, 2023/05/28
- [libmicrohttpd] 07/156: Fixed compiler warning in examples,
gnunet <=
- [libmicrohttpd] 12/156: MHD_get_version(): fixed signed value bit shift, gnunet, 2023/05/28
- [libmicrohttpd] 11/156: Disallowed MHD_SIZE_UNKNOWN for buffer-based responses, gnunet, 2023/05/28
- [libmicrohttpd] 09/156: fix capitalization of SHA-256 / MD5 as per RFC 7616 as reported on the mailinglist by Ahmet Kermen, gnunet, 2023/05/28
- [libmicrohttpd] 05/156: configure: fixed unwanted output on Fedora, gnunet, 2023/05/28
- [libmicrohttpd] 10/156: memorypool: fixed: unpoison memory for ASAN before destroying pool, gnunet, 2023/05/28
- [libmicrohttpd] 18/156: Response from callback: do allow negative return amounts, except predefined values, gnunet, 2023/05/28
- [libmicrohttpd] 13/156: test_https_sni: use certificates with SAN fields, gnunet, 2023/05/28
- [libmicrohttpd] 16/156: test_https_sni: use CA certificate, gnunet, 2023/05/28
- [libmicrohttpd] 20/156: Fixed return type for get_system_fdsetsize_value (), gnunet, 2023/05/28
- [libmicrohttpd] 15/156: Updated test TLS certificate in test and examples, gnunet, 2023/05/28