+2005-12-27 Matthias Clasen <mclasen@redhat.com>
+
+ Partial fix for bug #32937, Bogdan Nicula.
+
+ * configure.in: Check for malloc.h
+ * glib/gslice.c: Don't include malloc.h unconditionally.
+
2005-12-27 Manish Singh <yosh@gimp.org>
* tests/run-collate-tests.sh: export LC_COLLATE so it takes.
+2005-12-27 Matthias Clasen <mclasen@redhat.com>
+
+ Partial fix for bug #32937, Bogdan Nicula.
+
+ * configure.in: Check for malloc.h
+ * glib/gslice.c: Don't include malloc.h unconditionally.
+
2005-12-27 Manish Singh <yosh@gimp.org>
* tests/run-collate-tests.sh: export LC_COLLATE so it takes.
+2005-12-27 Matthias Clasen <mclasen@redhat.com>
+
+ Partial fix for bug #32937, Bogdan Nicula.
+
+ * configure.in: Check for malloc.h
+ * glib/gslice.c: Don't include malloc.h unconditionally.
+
2005-12-27 Manish Singh <yosh@gimp.org>
* tests/run-collate-tests.sh: export LC_COLLATE so it takes.
AC_C_BIGENDIAN
# check for header files
-AC_CHECK_HEADERS([dirent.h float.h limits.h pwd.h sys/param.h sys/poll.h sys/select.h sys/types.h])
-AC_CHECK_HEADERS([sys/time.h sys/times.h sys/wait.h unistd.h values.h stdint.h sched.h])
+AC_CHECK_HEADERS([dirent.h float.h limits.h pwd.h sys/param.h sys/poll.h])
+AC_CHECK_HEADERS([sys/time.h sys/times.h sys/wait.h unistd.h values.h])
+AC_CHECK_HEADERS([sys/select.h sys/types.h stdint.h sched.h malloc.h])
# Checks for libcharset
jm_LANGINFO_CODESET
}
/* --- memalign implementation --- */
+#ifdef HAVE_MALLOC_H
#include <malloc.h> /* memalign() */
+#endif
/* from config.h:
* define HAVE_POSIX_MEMALIGN 1 // if free(posix_memalign(3)) works, <stdlib.h>