--- parser3/src/include/pa_config_includes.h 2013/07/21 22:17:12 1.41 +++ parser3/src/include/pa_config_includes.h 2018/12/27 10:41:06 1.58 @@ -1,7 +1,7 @@ /** @file Parser: includes all Configure-d headers - Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2017 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) when used Configure [HAVE_CONFIG_H] it uses defines from Configure, @@ -31,13 +31,12 @@ # include #endif -#ifdef STDC_HEADERS +#ifdef HAVE_STDLIB_H # include +#endif + +#ifdef HAVE_STDDEF_H # include -#else -# ifdef HAVE_STDLIB_H -# include -# endif #endif #ifdef HAVE_STRING_H @@ -129,15 +128,15 @@ # include #endif +#ifdef HAVE_SYS_WAIT_H +# include +#endif + #ifdef HAVE_SYS_SOCKET_H # include #endif -#ifdef HAVE_WINSOCK_H -# include -#endif - #ifdef HAVE_NETINET_IN_H # include #endif @@ -185,6 +184,35 @@ inline size_t max(size_t a, size_t b) { inline size_t min(size_t a, size_t b){ return a