malloc.h conditional inclusion

malloc.h header is also glibc specific
This commit is contained in:
Miodrag Popović
2020-07-21 10:26:42 +02:00
committed by GitHub
parent 2452d4d3ec
commit 33358740f4

View File

@@ -49,7 +49,9 @@
#include <boost/filesystem.hpp>
#include <boost/thread.hpp>
#if defined(__GLIBC__)
#include <malloc.h>
#endif
using namespace std;
using namespace libzcash;