diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2002-01-06 20:53:22 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2002-01-06 20:53:22 +0000 |
commit | 2a68afcbbd9776f4bf56b6b49962d9ad5e36b9e4 (patch) | |
tree | 9858c34855489783bcc98ea5c22f3711e9a6f52a /net/gnomeicu | |
parent | Missed ${LOCALBASE}/pilot/ -> ${LOCALBASE} (diff) |
Fix for building on -CURRENT without <malloc.h>
Notes
Notes:
svn path=/head/; revision=52670
Diffstat (limited to 'net/gnomeicu')
-rw-r--r-- | net/gnomeicu/files/patch-src::icu_db.c | 14 | ||||
-rw-r--r-- | net/gnomeicu/gnomeicu/files/patch-src::icu_db.c | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/net/gnomeicu/files/patch-src::icu_db.c b/net/gnomeicu/files/patch-src::icu_db.c new file mode 100644 index 000000000000..0a0196a73c92 --- /dev/null +++ b/net/gnomeicu/files/patch-src::icu_db.c @@ -0,0 +1,14 @@ +--- src/icu_db.c.orig Sat Jan 5 19:15:03 2002 ++++ src/icu_db.c Sat Jan 5 19:16:00 2002 +@@ -33,7 +33,11 @@ + #include <errno.h> + #include <stdio.h> + #include <string.h> ++#if defined(HAVE_STDLIB_H) ++#include <stdlib.h> ++#else + #include <malloc.h> ++#endif + + #if defined(HAVE_LIBGDBM) + #include <gdbm.h> diff --git a/net/gnomeicu/gnomeicu/files/patch-src::icu_db.c b/net/gnomeicu/gnomeicu/files/patch-src::icu_db.c new file mode 100644 index 000000000000..0a0196a73c92 --- /dev/null +++ b/net/gnomeicu/gnomeicu/files/patch-src::icu_db.c @@ -0,0 +1,14 @@ +--- src/icu_db.c.orig Sat Jan 5 19:15:03 2002 ++++ src/icu_db.c Sat Jan 5 19:16:00 2002 +@@ -33,7 +33,11 @@ + #include <errno.h> + #include <stdio.h> + #include <string.h> ++#if defined(HAVE_STDLIB_H) ++#include <stdlib.h> ++#else + #include <malloc.h> ++#endif + + #if defined(HAVE_LIBGDBM) + #include <gdbm.h> |