add if guards around include <malloc.h>

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2 files changed