aboutsummaryrefslogtreecommitdiff
path: root/src/colors.h
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-01-14 22:54:28 +0100
committerjcid <devnull@localhost>2008-01-14 22:54:28 +0100
commit17e6f35cfbfa7a73e986fcd11617db12898d740f (patch)
treef21fb0b4a318f0e5cedf378d3baf34f89a54268f /src/colors.h
parentbf0a192dd862b91a268faa1b4faba839cabb9436 (diff)
- Added an int32_t include-test, and an EAI_NODATA check for FreeBSD.
Diffstat (limited to 'src/colors.h')
-rw-r--r--src/colors.h9
1 files changed, 9 insertions, 0 deletions
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 <inttypes.h>
+#else
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */