From 722a7d2142347a9fabd32ebc0fc6b9d94de492e2 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Thu, 25 Oct 2001 17:02:50 +0000 Subject: 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.) --- src/dnscache.h | 5 ++--- 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 -#include +#include "tinyproxy.h" extern int dnscache(struct in_addr *addr, char *domain); diff --git a/src/sock.h b/src/sock.h index 93d97c4..efcb2f6 100644 --- a/src/sock.h +++ b/src/sock.h @@ -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 -#endif +#include "tinyproxy.h" #define PEER_IP_LENGTH 16 #define PEER_STRING_LENGTH 256 -- cgit v1.2.3