From 287ed24dd8d1d7bd7749d2350328c3def09ef7f6 Mon Sep 17 00:00:00 2001 From: giles Date: Tue, 9 Mar 2004 18:33:06 +0000 Subject: [PATCH] Include inttypes.h from the compatibility header if it's available and stdint.h is not. This provides the stdint types on solaris and a number of other non-C99 platforms. svn path=/trunk/icecast/; revision=5925 --- src/compat.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/compat.h b/src/compat.h index 49422da4..e777db20 100644 --- a/src/compat.h +++ b/src/compat.h @@ -23,7 +23,9 @@ # define uint64_t unsigned __int64 # define uint32_t unsigned int #else -# ifdef HAVE_STDINT_H +# if defined(HAVE_STDINT_H) # include +# elif defined(HAVE_INTTYPES_H) +# include # endif #endif