Code

minor fix to allow Pedro to build on OS X
authordwyip <dwyip@users.sourceforge.net>
Sat, 10 Jun 2006 10:09:30 +0000 (10:09 +0000)
committerdwyip <dwyip@users.sourceforge.net>
Sat, 10 Jun 2006 10:09:30 +0000 (10:09 +0000)
src/pedro/pedrodom.cpp

index 5ac4a61d02e56765a5701c29d086107adc6e066b..fa473f1a948ad5c7f7ec877b687de7bbbba741f4 100644 (file)
@@ -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>