summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pedro/pedrodom.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pedro/pedrodom.cpp b/src/pedro/pedrodom.cpp
index 5ac4a61d0..fa473f1a9 100644
--- a/src/pedro/pedrodom.cpp
+++ b/src/pedro/pedrodom.cpp
@@ -26,7 +26,9 @@
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
+#if defined(HAVE_MALLOC_H)
#include <malloc.h>
+#endif
#include <sys/types.h>
#include <sys/stat.h>