From f1d30621d0062ff1d12adf83a02a15d41164f1c1 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 22 Nov 2001 18:02:07 +0000 Subject: [PATCH] Fix problem with malloc.h. --- graphics/sodipodi/files/patch-src::xml::repr-io.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 graphics/sodipodi/files/patch-src::xml::repr-io.c diff --git a/graphics/sodipodi/files/patch-src::xml::repr-io.c b/graphics/sodipodi/files/patch-src::xml::repr-io.c new file mode 100644 index 000000000000..5cd02b582180 --- /dev/null +++ b/graphics/sodipodi/files/patch-src::xml::repr-io.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/xml/repr-io.c 2001/11/22 15:20:50 1.1 ++++ src/xml/repr-io.c 2001/11/22 15:21:18 +@@ -1,6 +1,8 @@ + #define SP_REPR_IO_C + ++#ifdef HAVE_MALLOC_H + #include ++#endif + #include + #include + #include "repr.h"