Add a pre-processor test around the sys/types.h header file, to make sure

it's available before we try to include it.
This commit is contained in:
Robert James Kaes 2001-12-23 18:44:02 +00:00
parent 4ed73b6f07
commit b68354a9da

View File

@ -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