summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Yip <yipdw@alumni.rose-hulman.edu>2006-06-10 10:09:30 +0000
committerdwyip <dwyip@users.sourceforge.net>2006-06-10 10:09:30 +0000
commit30fbebc11a7bebcca6449807ced1bbbe49f2356c (patch)
treec9058328bc0dde90d975705756e5238e0a38223c /src
parentApplied patch 1503805 (diff)
downloadinkscape-30fbebc11a7bebcca6449807ced1bbbe49f2356c.tar.gz
inkscape-30fbebc11a7bebcca6449807ced1bbbe49f2356c.zip
minor fix to allow Pedro to build on OS X
(bzr r1197)
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>