+2004-01-06 Erez Zadok <ezk@cs.sunysb.edu>
+
+ * include/am_defs.h: Don't include malloc.h if stdlib.h exists,
+ because modern systems (e.g., BSD) complain if you use malloc.h
+ instead of stdlib.h. Let's hope there are no systems out
+ there that need both.
+
2004-01-05 Erez Zadok <ezk@cs.sunysb.edu>
* MIRRORS.{txt,html}: verify each mirror site, update to new
ia64-unknown-linux-rh2.1AS (Red Hat Itanium Advanced Server)
i386-unknown-freebsd5.0 (5.0-RELEASE)
sparc64-unknown-linux-suse7.3
+ i386-unknown-freebsd4.9
- bug fixes:
rename log() in fsinfo to avoid glibc/gcc-3.3 conflict
*
* %W% (Berkeley) %G%
*
- * $Id: am_defs.h,v 1.15.2.14 2004/01/06 03:15:23 ezk Exp $
+ * $Id: am_defs.h,v 1.15.2.15 2004/01/06 22:34:58 ezk Exp $
*
*/
/*
* Actions to take if <malloc.h> exists.
+ * Don't include malloc.h if stdlib.h exists, because modern
+ * systems complain if you use malloc.h instead of stdlib.h.
+ * XXX: let's hope there are no systems out there that need both.
*/
-#ifdef HAVE_MALLOC_H
+#if defined(HAVE_MALLOC_H) && !defined(HAVE_STDLIB_H)
# include <malloc.h>
-#endif /* HAVE_MALLOC_H */
+#endif /* defined(HAVE_MALLOC_H) && !defined(HAVE_STDLIB_H) */
/*
* Actions to take if <mntent.h> exists.