--- parser3/src/include/pa_config_includes.h 2002/02/13 13:50:49 1.18 +++ parser3/src/include/pa_config_includes.h 2002/02/18 08:39:15 1.19 @@ -4,7 +4,7 @@ Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - $Id: pa_config_includes.h,v 1.18 2002/02/13 13:50:49 paf Exp $ + $Id: pa_config_includes.h,v 1.19 2002/02/18 08:39:15 paf Exp $ when used Configure [HAVE_CONFIG_H] it uses defines from Configure, @@ -70,11 +70,15 @@ # include #endif -#ifdef HAVE_SYS_TIME_H +#if TIME_WITH_SYS_TIME # include -#endif -#ifdef HAVE_TIME_H # include +#else +# ifdef HAVE_SYS_TIME_H +# include +# else +# include +# endif #endif #ifdef HAVE_STDLIB_H