diff lib-src/sorted-doc.c @ 31884:7b52b49d1148

Include config.h. [!HAVE_STDLIB_H]: Declare malloc.
author Dave Love <fx@gnu.org>
date Mon, 25 Sep 2000 17:39:03 +0000
parents 32a7344ac2e7
children c8fb06423da0
line wrap: on
line diff
--- a/lib-src/sorted-doc.c	Mon Sep 25 15:42:25 2000 +0000
+++ b/lib-src/sorted-doc.c	Mon Sep 25 17:39:03 2000 +0000
@@ -5,11 +5,12 @@
    This version sorts the output by function name.
    */
 
+#include "config.h"
 #include <stdio.h>
 #include <ctype.h>
-
+#ifndef HAVE_STDLIB_H		/* config.h includes stdlib.  */
 extern char *malloc ();
-char *xmalloc ();
+#endif
 
 #define NUL	'\0'
 #define MARKER '\037'