From 17e6f35cfbfa7a73e986fcd11617db12898d740f Mon Sep 17 00:00:00 2001 From: jcid Date: Mon, 14 Jan 2008 22:54:28 +0100 Subject: - Added an int32_t include-test, and an EAI_NODATA check for FreeBSD. --- src/colors.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/colors.h') diff --git a/src/colors.h b/src/colors.h index 99d1bc0f..f350d510 100644 --- a/src/colors.h +++ b/src/colors.h @@ -1,6 +1,15 @@ #ifndef __COLORS_H__ #define __COLORS_H__ +#include "config.h" +#ifdef HAVE_INTTYPES_H +#include +#else +#ifdef HAVE_STDINT_H +#include +#endif +#endif + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ -- cgit v1.2.3