From d81d90dc6fcd4e40f3245f9dd626febd33510b8e Mon Sep 17 00:00:00 2001
From: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE>
Date: Tue, 26 Jul 2005 14:33:16 +0000
Subject: [PATCH] malloc.h is nowhere needed and breaks MacOS-X (which prefers
 to use malloc/malloc.h).

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 409756c..6f13b30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -212,7 +212,7 @@ AC_SUBST([GNUCOMPAT_INCLUDE_PATH])
 
 # Checks for header files.
 AC_HEADER_STDC
-AC_CHECK_HEADERS([malloc.h unistd.h X11/Xlib.h X11/Xutil.h],,
+AC_CHECK_HEADERS([unistd.h X11/Xlib.h X11/Xutil.h],,
 		 [AC_MSG_ERROR([Exiting...])])
 AC_CHECK_HEADERS([rpc/xdr.h],,[AC_MSG_ERROR([Exiting...])])
 
-- 
GitLab