Reorganized (or added) the #include <sys/types.h> line so tinyproxy would

compile cleanly on FreeBSD systems.
This commit is contained in:
Robert James Kaes committed 2000-04-26 16:31:29 +00:00
1 parent d0a05357a1
commit 73b1ff1b1a
3 files changed
+12 -3

No files matched your search

+2 -2
View File
@@ -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"
+2 -1
View File
@@ -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 <string.h>
#include <stdlib.h>
#include <assert.h>
#include <sys/types.h>
#include "uri.h"
#include "utils.h"