Update as_memory.cpp (#2730)

Merged required patch from OpenBSD and NetBSD
This commit is contained in:
Daniel Ölschlegel 2017-01-08 00:55:10 +01:00 committed by auriamg
parent 6e38e7429b
commit 64015348da

View File

@ -38,7 +38,8 @@
#include <stdlib.h>
#if !defined(__APPLE__) && !defined( __SNC__ ) && !defined( __ghs__ ) && !defined(__FreeBSD__)
#if !defined(__APPLE__) && !defined( __SNC__ ) && !defined( __ghs__ ) \
&& !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
#include <malloc.h>
#endif