--- termcap-1.3.1.old/termcap.c +++ termcap-1.3.1/termcap.c @@ -36,7 +36,9 @@ #else /* not emacs */ -#ifdef STDC_HEADERS +#define STDC_HEADERS 1 +#ifdef STDC_HEADERS +#include #include #include #else --- termcap-1.3.1.old/tparam.c +++ termcap-1.3.1/tparam.c @@ -25,9 +25,12 @@ #include "lisp.h" /* for xmalloc */ #else -#ifdef STDC_HEADERS +#define STDC_HEADERS 1 +#ifdef STDC_HEADERS +#include #include #include +#include #else char *malloc (); char *realloc ();