X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fdemo_altkeys.c;h=0f4e898a7a6c38baca71e14a77d6dfcaaa8d0761;hp=a83a549d23b5e19454da0eefed1b8715a8433e2f;hb=9a0b985989d0aeb66b66b5711d432322aa994969;hpb=af3d0ee323cbb22d2a7596d564bf68f7307f5076 diff --git a/test/demo_altkeys.c b/test/demo_altkeys.c index a83a549d..0f4e898a 100644 --- a/test/demo_altkeys.c +++ b/test/demo_altkeys.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2005-2016,2017 Free Software Foundation, Inc. * + * Copyright (c) 2005-2017,2018 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -26,27 +26,17 @@ * authorization. * ****************************************************************************/ /* - * $Id: demo_altkeys.c,v 1.11 2017/06/17 18:33:03 tom Exp $ + * $Id: demo_altkeys.c,v 1.12 2018/12/29 17:52:53 tom Exp $ * * Demonstrate the define_key() function. * Thomas Dickey - 2005/10/22 */ +#define NEED_TIME_H #include #if defined(NCURSES_VERSION) && NCURSES_EXT_FUNCS -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif - #define MY_LOGFILE "demo_altkeys.log" #define MY_KEYS (KEY_MAX + 1)