From 73b1ff1b1ab2699f211ad8f7bfeeda178dd2d274 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Wed, 26 Apr 2000 16:31:29 +0000 Subject: Reorganized (or added) the #include line so tinyproxy would compile cleanly on FreeBSD systems. --- ChangeLog | 8 ++++++++ src/dnscache.c | 4 ++-- src/uri.c | 3 ++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5edac72..547caa3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2000-04-26 Robert James Kaes + + * src/uri.c: Added the #include for compatibility + with FreeBSD. + + * src/dnscache.c: Moved the #include above the + #include reference for compatibility with FreeBSD. + 2000-03-31 Robert James Kaes * src/reqs.c (clientreq): Removed the hack for POST methods with diff --git a/src/dnscache.c b/src/dnscache.c index 76043a2..9bc8184 100644 --- a/src/dnscache.c +++ b/src/dnscache.c @@ -1,4 +1,4 @@ -/* $Id: dnscache.c,v 1.3 2000-03-29 16:18:05 rjkaes Exp $ +/* $Id: dnscache.c,v 1.4 2000-04-26 16:31:29 rjkaes Exp $ * * This is a caching DNS system. When a host name is needed we look it up here * and see if there is already an answer for it. The domains are placed in a @@ -28,12 +28,12 @@ #include #include #include +#include #include #include #include #include #include -#include #include "utils.h" #include "dnscache.h" diff --git a/src/uri.c b/src/uri.c index 8a2b744..7ba352c 100644 --- a/src/uri.c +++ b/src/uri.c @@ -1,4 +1,4 @@ -/* $Id: uri.c,v 1.1.1.1 2000-02-16 17:32:23 sdyoung Exp $ +/* $Id: uri.c,v 1.2 2000-04-26 16:31:29 rjkaes Exp $ * * This borrows the REGEX from RFC2396 to split a URI string into the five * primary components. The components are: @@ -28,6 +28,7 @@ #include #include #include +#include #include "uri.h" #include "utils.h" -- cgit v1.2.3