diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-10-25 17:02:50 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-10-25 17:02:50 +0000 |
commit | 722a7d2142347a9fabd32ebc0fc6b9d94de492e2 (patch) | |
tree | 9c0085b4571f5c127669e9a61b880add301d4c79 /src | |
parent | d3b099140fa2d221479c67b2be921abac8481798 (diff) | |
download | tinyproxy-722a7d2142347a9fabd32ebc0fc6b9d94de492e2.tar.gz tinyproxy-722a7d2142347a9fabd32ebc0fc6b9d94de492e2.zip |
Changed the included headers to be only the "tinyproxy.h" since it
contains all the code for properly bringing in the system headers (in the
correct order and with proper dependancies.)
Diffstat (limited to 'src')
-rw-r--r-- | src/dnscache.h | 5 | ||||
-rw-r--r-- | src/sock.h | 6 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/dnscache.h b/src/dnscache.h index e0cdb7f..046052d 100644 --- a/src/dnscache.h +++ b/src/dnscache.h @@ -1,4 +1,4 @@ -/* $Id: dnscache.h,v 1.6 2001-10-18 03:44:06 rjkaes Exp $ +/* $Id: dnscache.h,v 1.7 2001-10-25 17:02:50 rjkaes Exp $ * * See 'dnscache.c' for a detailed description. * @@ -18,8 +18,7 @@ #ifndef _TINYPROXY_DNSCACHE_H_ #define _TINYPROXY_DNSCACHE_H_ -#include <netinet/in.h> -#include <arpa/inet.h> +#include "tinyproxy.h" extern int dnscache(struct in_addr *addr, char *domain); @@ -1,4 +1,4 @@ -/* $Id: sock.h,v 1.5 2001-09-16 20:11:07 rjkaes Exp $ +/* $Id: sock.h,v 1.6 2001-10-25 17:02:50 rjkaes Exp $ * * See 'sock.c' for a detailed description. * @@ -19,9 +19,7 @@ #ifndef TINYPROXY_SOCK_H #define TINYPROXY_SOCK_H -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif +#include "tinyproxy.h" #define PEER_IP_LENGTH 16 #define PEER_STRING_LENGTH 256 |