gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 01/05: memorypool: further narrow down incl


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 01/05: memorypool: further narrow down includes
Date: Thu, 13 Jun 2019 00:06:36 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit b98f757af86d20eb63a9156768bcbc24dc237afc
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Wed Jun 12 18:51:27 2019 +0300

    memorypool: further narrow down includes
---
 src/microhttpd/memorypool.c | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/src/microhttpd/memorypool.c b/src/microhttpd/memorypool.c
index 415b8aa5..63acb841 100644
--- a/src/microhttpd/memorypool.c
+++ b/src/microhttpd/memorypool.c
@@ -25,8 +25,22 @@
  * @author Karlson2k (Evgeny Grin)
  */
 #include "memorypool.h"
-#include "internal.h"
+#include <stdlib.h>
+#include <string.h>
 #include "mhd_assert.h"
+#if HAVE_SYS_MMAN_H
+#include <sys/mman.h>
+#endif
+#ifdef _WIN32
+#include <memoryapi.h>
+#endif
+
+#ifndef MHD_YES
+#define MHD_YES 1
+#endif
+#ifndef MHD_NO
+#define MHD_NO 0
+#endif
 
 /* define MAP_ANONYMOUS for Mac OS X */
 #if defined(MAP_ANON) && !defined(MAP_ANONYMOUS)

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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