diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-10-25 17:27:39 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-10-25 17:27:39 +0000 |
commit | 4ac03908fcb4966d44b816f1a828d5e237912f3d (patch) | |
tree | a3f6e1753d30339b05edb01228613cc445a7664e /src/tinyproxy.h | |
parent | 722a7d2142347a9fabd32ebc0fc6b9d94de492e2 (diff) | |
download | tinyproxy-4ac03908fcb4966d44b816f1a828d5e237912f3d.tar.gz tinyproxy-4ac03908fcb4966d44b816f1a828d5e237912f3d.zip |
Header reorganization. Basically all system headers are now included in
tinyproxy.h and all the other files include the tinyproxy.h header. This
moves all the dependancy issues into one file.
Diffstat (limited to 'src/tinyproxy.h')
-rw-r--r-- | src/tinyproxy.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/tinyproxy.h b/src/tinyproxy.h index 03aa197..7dd6402 100644 --- a/src/tinyproxy.h +++ b/src/tinyproxy.h @@ -1,4 +1,4 @@ -/* $Id: tinyproxy.h,v 1.18 2001-10-25 16:58:50 rjkaes Exp $ +/* $Id: tinyproxy.h,v 1.19 2001-10-25 17:27:39 rjkaes Exp $ * * See 'tinyproxy.c' for a detailed description. * @@ -27,6 +27,9 @@ * Include standard headers which are used through-out tinyproxy */ #include <sys/types.h> +#ifdef HAVE_SYS_RESOURCE_H +# include <sys/resource.h> +#endif #ifdef HAVE_SYS_SELECT_H # include <sys/select.h> #endif @@ -45,12 +48,18 @@ #include <sys/uio.h> #include <netinet/in.h> #include <arpa/inet.h> +#include <assert.h> +#include <ctype.h> #include <errno.h> #include <fcntl.h> +#include <grp.h> #include <netdb.h> #ifdef HAVE_PTHREAD_H # include <pthread.h> #endif +#include <pwd.h> +#include <signal.h> +#include <stdarg.h> #ifdef HAVE_STDINT_H # include <stdint.h> #endif @@ -60,8 +69,9 @@ #ifdef HAVE_STRINGS_H # include <strings.h> #endif +#include <sysexits.h> +#include <syslog.h> #include <unistd.h> -#include <assert.h> #ifndef SHUT_RD /* these three Posix.1g names are quite new */ # define SHUT_RD 0 /* shutdown for reading */ |