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:
parent
4ed73b6f07
commit
b68354a9da
@ -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.
|
* See 'tinyproxy.c' for a detailed description.
|
||||||
*
|
*
|
||||||
@ -26,7 +26,9 @@
|
|||||||
/*
|
/*
|
||||||
* Include standard headers which are used through-out tinyproxy
|
* Include standard headers which are used through-out tinyproxy
|
||||||
*/
|
*/
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
|
#endif
|
||||||
#ifdef HAVE_INTTYPES_H
|
#ifdef HAVE_INTTYPES_H
|
||||||
# include <inttypes.h>
|
# include <inttypes.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user