zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: explicit declaration of fseek, ftell
@ 2001-12-18  1:10 Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2001-12-18  1:10 UTC (permalink / raw)
  To: zsh-workers

../../Src/input.c:413: warning: implicit declaration of function
`fseeko'
../../Src/input.c:414: warning: implicit declaration of function
`ftello'

Index: zshconfig.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/zshconfig.ac,v
retrieving revision 1.22
diff -u -r1.22 zshconfig.ac
--- zshconfig.ac	2001/12/15 17:33:12	1.22
+++ zshconfig.ac	2001/12/18 01:09:49
@@ -474,7 +474,7 @@
 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
Index: Src/input.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/input.c,v
retrieving revision 1.4
diff -u -r1.4 input.c
--- Src/input.c	2001/01/16 13:44:20	1.4
+++ Src/input.c	2001/12/18 01:09:50
@@ -67,6 +67,10 @@
  * PWS 1996/12/10
  */
 
+#ifdef HAVE_STDIO_H
+#include <stdio.h>
+#endif
+
 #include "zsh.mdh"
 #include "input.pro"
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-12-18  1:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-18  1:10 PATCH: explicit declaration of fseek, ftell Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).