Remove memory.h/malloc.h inclusion from <ac/string.h>.
Need to s/<stdlib.h>/<ac/stdlib.h> everywhere.
--- /dev/null
+/* Generic stdlib.h */
+/*
+ * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted only
+ * as authorized by the OpenLDAP Public License. A copy of this
+ * license is available at http://www.OpenLDAP.org/license.html or
+ * in file LICENSE in the top-level directory of the distribution.
+ */
+
+#ifndef _AC_STDLIB_H
+#define _AC_STDLIB_H
+
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+
+#else
+
+# ifdef HAVE_MEMORY_H
+# include <memory.h>
+# endif
+
+# ifdef HAVE_MALLOC_H
+# include <malloc.h>
+# endif
+
+#endif
+
+#endif /* _AC_STDLIB_H */
# ifdef HAVE_MEMORY_H
# include <memory.h>
-# endif
-
- /* we should actually create <ac/stdlib.h> */
-# ifdef HAVE_MALLOC_H
-# include <malloc.h>
# endif
# ifndef HAVE_STRRCHR
# endif
#endif
-
#endif /* _AC_STRING_H */