Fix for building on -CURRENT without <malloc.h>
This commit is contained in:
parent
52d84ee998
commit
2a68afcbbd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52670
14
net-im/gnomeicu/files/patch-src::icu_db.c
Normal file
14
net-im/gnomeicu/files/patch-src::icu_db.c
Normal file
@ -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>
|
14
net-im/gnomeicu2/files/patch-src::icu_db.c
Normal file
14
net-im/gnomeicu2/files/patch-src::icu_db.c
Normal file
@ -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>
|
14
net/gnomeicu/files/patch-src::icu_db.c
Normal file
14
net/gnomeicu/files/patch-src::icu_db.c
Normal file
@ -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>
|
14
net/gnomeicu/gnomeicu/files/patch-src::icu_db.c
Normal file
14
net/gnomeicu/gnomeicu/files/patch-src::icu_db.c
Normal file
@ -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>
|
14
net/gnomeicu2/files/patch-src::icu_db.c
Normal file
14
net/gnomeicu2/files/patch-src::icu_db.c
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user