From 9d52f5c21cfc39edba3f0b4ba841710838bb913e Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Mon, 19 Oct 2009 18:14:24 +0000 Subject: merge from gcc --- include/plugin-api.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/plugin-api.h') diff --git a/include/plugin-api.h b/include/plugin-api.h index a026e7a00..572621fc3 100644 --- a/include/plugin-api.h +++ b/include/plugin-api.h @@ -26,8 +26,16 @@ #ifndef PLUGIN_API_H #define PLUGIN_API_H +#ifdef HAVE_STDINT_H #include +#elif defined(HAVE_INTTYPES_H) +#include +#endif #include +#if !defined(HAVE_STDINT_H) && !defined(HAVE_INTTYPES_H) && \ + !defined(UINT64_MAX) && !defined(uint64_t) +#error can not find uint64_t type +#endif #ifdef __cplusplus extern "C" -- cgit v1.2.3