From 6feb3f57f4c5524f2a047d76cbcd21e84cebfd27 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Tue, 18 Dec 2001 01:13:22 +0000 Subject: 16361: include to avoid implicit declarations. --- ChangeLog | 5 +++++ Src/input.c | 4 ++++ zshconfig.ac | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5dc8caac3..5b810847a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-12-18 Clint Adams + + * 16361: zshconfig.ac, Src/input.c: + include to avoid implicit declarations. + 2001-12-17 Oliver Kiddle * 16352: Functions/Misc/zcalc: allow output formats to be diff --git a/Src/input.c b/Src/input.c index 8f33e3631..ba01dd068 100644 --- a/Src/input.c +++ b/Src/input.c @@ -67,6 +67,10 @@ * PWS 1996/12/10 */ +#ifdef HAVE_STDIO_H +#include +#endif + #include "zsh.mdh" #include "input.pro" diff --git a/zshconfig.ac b/zshconfig.ac index 2ec80f134..8191756db 100644 --- a/zshconfig.ac +++ b/zshconfig.ac @@ -474,7 +474,7 @@ AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(sys/time.h sys/times.h sys/select.h termcap.h termio.h \ termios.h sys/param.h sys/filio.h string.h memory.h \ limits.h fcntl.h libc.h sys/utsname.h sys/resource.h \ - locale.h errno.h stdlib.h unistd.h sys/capability.h \ + locale.h errno.h stdio.h stdlib.h unistd.h sys/capability.h \ utmp.h utmpx.h sys/types.h pwd.h grp.h poll.h sys/mman.h \ netinet/in_systm.h pcre.h) if test $dynamic = yes; then -- cgit 1.4.1