From b68354a9da9a513171332fd7a99da40299d4eb71 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Sun, 23 Dec 2001 18:44:02 +0000 Subject: Add a pre-processor test around the sys/types.h header file, to make sure it's available before we try to include it. --- src/tinyproxy.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tinyproxy.h b/src/tinyproxy.h index 02efd71..88d7442 100644 --- a/src/tinyproxy.h +++ b/src/tinyproxy.h @@ -1,4 +1,4 @@ -/* $Id: tinyproxy.h,v 1.24 2001-12-23 03:28:03 rjkaes Exp $ +/* $Id: tinyproxy.h,v 1.25 2001-12-23 18:44:02 rjkaes Exp $ * * See 'tinyproxy.c' for a detailed description. * @@ -26,7 +26,9 @@ /* * Include standard headers which are used through-out tinyproxy */ +#ifdef HAVE_SYS_TYPES_H # include +#endif #ifdef HAVE_INTTYPES_H # include #endif -- cgit v1.2.3