From f8b61da4ae5597f02c78c48f429c93d9024034df Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Sun, 25 Nov 2001 22:07:36 +0000 Subject: Added tests for _every_ header to make sure they are actually present on the system. --- src/tinyproxy.h | 135 ++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 108 insertions(+), 27 deletions(-) (limited to 'src/tinyproxy.h') diff --git a/src/tinyproxy.h b/src/tinyproxy.h index e38e886..26448af 100644 --- a/src/tinyproxy.h +++ b/src/tinyproxy.h @@ -1,4 +1,4 @@ -/* $Id: tinyproxy.h,v 1.20 2001-11-22 00:31:10 rjkaes Exp $ +/* $Id: tinyproxy.h,v 1.21 2001-11-25 22:07:36 rjkaes Exp $ * * See 'tinyproxy.c' for a detailed description. * @@ -26,52 +26,133 @@ /* * Include standard headers which are used through-out tinyproxy */ -#include +# include +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDDEF_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif + +#ifdef HAVE_SYS_IOCTL_H +# include +#endif #ifdef HAVE_SYS_RESOURCE_H # include #endif #ifdef HAVE_SYS_SELECT_H # include #endif -#include -#include -#ifdef TIME_WITH_SYS_TIME +#ifdef HAVE_SYS_SOCKET_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef HAVE_SYS_SYSCTL_H +# include +#endif + +#ifdef HAVE_SYS_TIME_H # include -# include +# ifdef HAVE_TIME_H +# include +# endif #else # ifdef HAVE_SYS_TIME_H # include # else -# include +# ifdef HAVE_TIME_H +# include +# endif # endif #endif -#include -#include -#include -#include -#include -#include -#include -#include -#include + +#ifdef HAVE_SYS_UIO_H +# include +#endif +#ifdef HAVE_SYS_WAIT_H +# include +#endif + +#ifdef HAVE_NETINET_IN_H +# include +#endif +#ifdef HAVE_ARPA_INET_H +# include +#endif +#ifdef HAVE_ALLOCA_H +# include +#endif +#ifdef HAVE_ASSERT_H +# include +#endif +#ifdef HAVE_CTYPE_H +# include +#endif +#ifdef HAVE_ERRNO_H +# include +#endif +#ifdef HAVE_FCNTL_H +# include +#endif +#ifdef HAVE_GRP_H +# include +#endif +#ifdef HAVE_MALLOC_H +# include +#endif +#ifdef HAVE_MEMORY_H +# include +#endif +#ifdef HAVE_NETDB_H +# include +#endif #ifdef HAVE_PTHREAD_H # include #endif -#include -#include -#include -#ifdef HAVE_STDINT_H -# include +#ifdef HAVE_PWD_H +# include +#endif +#ifdef HAVE_SIGNAL_H +# include +#endif +#ifdef HAVE_STDARG_H +# include +#endif +#ifdef HAVE_STDIO_H +# include +#endif +#ifdef HAVE_STDLIB_H +# include +#endif +#ifdef HAVE_STRING_H +# include #endif -#include -#include -#include #ifdef HAVE_STRINGS_H # include #endif -#include -#include -#include +#ifdef HAVE_SYSEXITS_H +# include +#endif +#ifdef HAVE_SYSLOG_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif +#ifdef HAVE_VFORK_H +# include +#endif +#ifdef HAVE_WCHAR_H +# include +#endif +#ifdef HAVE_WCTYPE_H +# include +#endif #ifndef SHUT_RD /* these three Posix.1g names are quite new */ # define SHUT_RD 0 /* shutdown for reading */ -- cgit v1.2.3