diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2001-04-12 17:11:39 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2001-04-12 17:11:39 +0000 |
commit | 34f65c6f32a614adb871c0dce7d602e797c0585f (patch) | |
tree | 24fb6282be34f99a1dea96aaa4703839c35192b9 /Src/prototypes.h | |
parent | 25bcf866261b9bcffd1cee82521bce7da79edd8a (diff) | |
download | zsh-34f65c6f32a614adb871c0dce7d602e797c0585f.tar.gz zsh-34f65c6f32a614adb871c0dce7d602e797c0585f.tar.xz zsh-34f65c6f32a614adb871c0dce7d602e797c0585f.zip |
Fiddle with <term.h> vs. <termcap.h> inclusion.
Diffstat (limited to 'Src/prototypes.h')
-rw-r--r-- | Src/prototypes.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Src/prototypes.h b/Src/prototypes.h index 7b2aa9d67..5b34b93b4 100644 --- a/Src/prototypes.h +++ b/Src/prototypes.h @@ -33,15 +33,13 @@ char *realloc _((void *, size_t)); char *calloc _((size_t, size_t)); #endif -#ifndef HAVE_TERMCAP_H +#if !(defined(HAVE_TERMCAP_H) || defined(HAVE_TERM_H)) extern int tgetent _((char *bp, char *name)); extern int tgetnum _((char *id)); extern int tgetflag _((char *id)); extern char *tgetstr _((char *id, char **area)); extern char *tgoto _((char *cm, int destcol, int destline)); -# ifndef HAVE_TERM_H extern int tputs _((char *cp, int affcnt, int (*outc) (int))); -# endif #endif /* MISSING PROTOTYPES FOR VARIOUS OPERATING SYSTEMS */ |