mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-30 22:47:16 +08:00
mdbx: portability - don't include malloc.h
on BSD.
Change-Id: I67f580c073bfe52fbd2e4ff599354e6d0f597e95
This commit is contained in:
parent
097b274aa4
commit
cf7160bda2
@ -50,10 +50,14 @@
|
||||
#include <assert.h>
|
||||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
|
||||
defined(__BSD__) || defined(__NETBSD__) || defined(__bsdi__) || \
|
||||
defined(__DragonFly__))
|
||||
#include <malloc.h>
|
||||
#endif /* xBSD */
|
||||
|
||||
#ifndef _POSIX_C_SOURCE
|
||||
#ifdef _POSIX_SOURCE
|
||||
|
Loading…
x
Reference in New Issue
Block a user