diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-12-23 18:44:02 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-12-23 18:44:02 +0000 |
commit | b68354a9da9a513171332fd7a99da40299d4eb71 (patch) | |
tree | b3d97eeb7f88aeab0f85177dcbfee616b74cecff | |
parent | 4ed73b6f071b43dcb9f79eaf8821ccaaa268ebfb (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.
-rw-r--r-- | src/tinyproxy.h | 4 |
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 |