memorypool: further narrow down includes

This commit is contained in:
Evgeny Grin (Karlson2k)
2019-06-12 18:51:27 +03:00
parent 2abfb2ccca
commit b98f757af8
+15 -1
View File
@@ -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)