X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftest.priv.h;h=f1ac8774248f2d74ddeabd951b9bc908669274bf;hp=f4c11aa5506791777c71c8c1fdc84c5f29a030db;hb=bfe3845eb1a2ff02a740e917b537e939ec4e44cb;hpb=45291421bee33c79ffb4c8f0e1b67ca5cc262114 diff --git a/test/test.priv.h b/test/test.priv.h index f4c11aa5..f1ac8774 100644 --- a/test/test.priv.h +++ b/test/test.priv.h @@ -29,7 +29,7 @@ /**************************************************************************** * Author: Thomas E. Dickey 1996-on * ****************************************************************************/ -/* $Id: test.priv.h,v 1.169 2018/08/19 00:28:27 tom Exp $ */ +/* $Id: test.priv.h,v 1.171 2018/12/29 21:44:07 tom Exp $ */ #ifndef __TEST_PRIV_H #define __TEST_PRIV_H 1 @@ -467,6 +467,12 @@ extern int optind; #define slk_clear() /* nothing */ #endif +#if HAVE_TPUTS_SP +#define USE_SP_FUNCS 1 +#else +#define USE_SP_FUNCS 0 +#endif + #ifndef HAVE_WSYNCDOWN #define wsyncdown(win) /* nothing */ #endif @@ -897,6 +903,19 @@ extern char *strnames[], *strcodes[], *strfnames[]; #endif +#ifdef NEED_TIME_H +#if TIME_WITH_SYS_TIME +# include +# include +#else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +#endif +#endif + /* Use this to quiet gcc's -Wwrite-strings warnings, but accommodate SVr4 * curses which doesn't have const parameters declared (so far) in the places * that XSI shows.