--- parser3/src/include/pa_config_includes.h 2013/07/21 22:17:12 1.41 +++ parser3/src/include/pa_config_includes.h 2013/07/29 15:02:17 1.44 @@ -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 @@ -213,6 +212,8 @@ inline size_t min(size_t a, size_t b){ r #pragma warning(disable:4996) // memcpy deprecation +#pragma warning(disable:4702) // unreachable code + #endif /// to debug backtrace pointers switch this on: