summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-10-25 17:02:50 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-10-25 17:02:50 +0000
commit722a7d2142347a9fabd32ebc0fc6b9d94de492e2 (patch)
tree9c0085b4571f5c127669e9a61b880add301d4c79
parentd3b099140fa2d221479c67b2be921abac8481798 (diff)
downloadtinyproxy-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.)
-rw-r--r--src/dnscache.h5
-rw-r--r--src/sock.h6
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);
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 <config.h>
-#endif
+#include "tinyproxy.h"
#define PEER_IP_LENGTH 16
#define PEER_STRING_LENGTH 256