Mercurial > emacs
changeset 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 | c2b1c16d926c |
children | 3f75a0460779 |
files | lib-src/sorted-doc.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
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'