From 0c8271d46771eb95a2fbdd740a5ef698bee4376e Mon Sep 17 00:00:00 2001 From: William McBrine Date: Wed, 14 Dec 2005 19:57:50 +0000 Subject: [PATCH] Guard against duplicate declarations in term.h and here. This is another thing that only showed up on my Mac, and I don't get why -- term.h is the same on both. --- demos/ncurses_cfg.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demos/ncurses_cfg.h b/demos/ncurses_cfg.h index ad8d1267..6fbfc69c 100644 --- a/demos/ncurses_cfg.h +++ b/demos/ncurses_cfg.h @@ -23,6 +23,8 @@ /* Some functions we don't have */ +#define __NCURSES_H + #ifdef HAVE_PROTO WINDOW *getwin(FILE *filep) { return (WINDOW *)NULL; } int putwin(WINDOW *win, FILE *filep) { return ERR; }