summaryrefslogtreecommitdiffhomepage
path: root/src/tinyproxy.h
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-12-23 18:44:02 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-12-23 18:44:02 +0000
commitb68354a9da9a513171332fd7a99da40299d4eb71 (patch)
treeb3d97eeb7f88aeab0f85177dcbfee616b74cecff /src/tinyproxy.h
parent4ed73b6f071b43dcb9f79eaf8821ccaaa268ebfb (diff)
Add a pre-processor test around the sys/types.h header file, to make sure
it's available before we try to include it.
Diffstat (limited to 'src/tinyproxy.h')
-rw-r--r--src/tinyproxy.h4
1 files changed, 3 insertions, 1 deletions
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 <sys/types.h>
+#endif
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif