aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-11-23 02:02:07 +0800
committersobomax <sobomax@FreeBSD.org>2001-11-23 02:02:07 +0800
commit96ab8514d075ecc334c03886ffbb3f310bca7c67 (patch)
treed0ec93caf1571fc701eab2df5b7e8ff9a1ec6534 /graphics
parent7f282f6313b2e68a3bc3226c6beecc94d5de4fb8 (diff)
downloadfreebsd-ports-gnome-96ab8514d075ecc334c03886ffbb3f310bca7c67.tar.gz
freebsd-ports-gnome-96ab8514d075ecc334c03886ffbb3f310bca7c67.tar.zst
freebsd-ports-gnome-96ab8514d075ecc334c03886ffbb3f310bca7c67.zip
Fix problem with malloc.h.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/sodipodi/files/patch-src::xml::repr-io.c14
1 files changed, 14 insertions, 0 deletions
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 <malloc.h>
++#endif
+ #include <string.h>
+ #include <stdio.h>
+ #include "repr.h"