X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Fprototypes.h;h=12124cdbad0b43797c00572fdf48346f37ac9a23;hb=29a3e9f413c20e96891fabb90208096ebc101afb;hp=fcc8f0c9085a0a4fa1f7b1053e81f8f38a595d4c;hpb=fd83882889b45c597fd051705147e8bc0ba0890d;p=mmh diff --git a/h/prototypes.h b/h/prototypes.h index fcc8f0c..12124cd 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 /*