summaryrefslogtreecommitdiff
path: root/src/dnscache.c
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2000-04-26 16:31:29 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2000-04-26 16:31:29 +0000
commit73b1ff1b1ab2699f211ad8f7bfeeda178dd2d274 (patch)
tree392f4124df58fb2c8933731bbea818b28133b1b2 /src/dnscache.c
parentd0a05357a1f6d15179f0d1d7d1da8b674f7f8034 (diff)
downloadtinyproxy-73b1ff1b1ab2699f211ad8f7bfeeda178dd2d274.tar.gz
tinyproxy-73b1ff1b1ab2699f211ad8f7bfeeda178dd2d274.zip
Reorganized (or added) the #include <sys/types.h> line so tinyproxy would
compile cleanly on FreeBSD systems.
Diffstat (limited to 'src/dnscache.c')
-rw-r--r--src/dnscache.c4
1 files changed, 2 insertions, 2 deletions
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 <string.h>
#include <netdb.h>
#include <time.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <assert.h>
#include <ctype.h>
-#include <sys/types.h>
#include "utils.h"
#include "dnscache.h"