X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/03fe41ba1d68108808c966c6d7ff74bd8c1d648c..abf5b4fce854b5ffbced1c1fdec6f42bca53055e:/h/prototypes.h diff --git a/h/prototypes.h b/h/prototypes.h index fcc8f0c9..12124cdb 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -6,13 +6,13 @@ /* * missing system prototypes */ -#ifndef HAVE_TERMCAP_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); -extern int tputs (char *cp, int affcnt, int (*outc) (int)); +#if ! defined(HAVE_TERMCAP_H) && ! defined (HAVE_NCURSES_TERMCAP_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); + extern int tputs (char *cp, int affcnt, int (*outc) (int)); #endif /*