X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2Fcurses.h.in;h=2ad68f1fee78aa47218645fd8f21d54a039409e1;hp=a25b9d5cd226cc788a23e2e1a0b2afc57838b3e1;hb=96d6b16de0d487e5d3aed0302a179dbce11b5d96;hpb=cf94c7485f7b40ff7870b5bf9a65e7ab87481a76 diff --git a/include/curses.h.in b/include/curses.h.in index a25b9d5c..2ad68f1f 100644 --- a/include/curses.h.in +++ b/include/curses.h.in @@ -32,7 +32,7 @@ * and: Thomas E. Dickey 1996-on * ****************************************************************************/ -/* $Id: curses.h.in,v 1.214 2010/03/30 08:50:18 tom Exp $ */ +/* $Id: curses.h.in,v 1.215 2010/04/29 09:46:38 tom Exp $ */ #ifndef __NCURSES_H #define __NCURSES_H @@ -144,6 +144,11 @@ typedef unsigned @cf_cv_typeof_chtype@ chtype; typedef unsigned @cf_cv_typeof_mmask_t@ mmask_t; #endif +/* + * We need FILE, etc. Include this before checking any feature symbols. + */ +#include + /* * With XPG4, you must define _XOPEN_SOURCE_EXTENDED, it is redundant (or * conflicting) when _XOPEN_SOURCE is 500 or greater. @@ -153,7 +158,6 @@ typedef unsigned @cf_cv_typeof_mmask_t@ mmask_t; #define NCURSES_WIDECHAR #endif -#include #include /* we need va_list */ #ifdef NCURSES_WIDECHAR #include /* we want wchar_t */