diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/input.c | 4 | ||||
-rw-r--r-- | zshconfig.ac | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 5dc8caac3..5b810847a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-12-18 Clint Adams <clint@zsh.org> + + * 16361: zshconfig.ac, Src/input.c: + include <stdio.h> to avoid implicit declarations. + 2001-12-17 Oliver Kiddle <opk@zsh.org> * 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 <stdio.h> +#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 |