From 125ca30ca270683ff029c27e6f5fcc4f26363841 Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 9 Nov 2012 15:34:31 +0000 Subject: * siphash.h: check configure macros before include newer headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++-- siphash.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 57bd81aa4e..1a850f54a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,6 @@ -Sat Nov 10 00:19:09 2012 NAKAMURA Usaku +Sat Nov 10 00:33:31 2012 NAKAMURA Usaku - * siphash.h: include inttypes.h only when HAVE_INTTYPES_H is defined. + * siphash.h: check configure macros before include newer headers. Fri Nov 9 23:33:05 2012 Nobuyoshi Nakada diff --git a/siphash.h b/siphash.h index 8f56b99d55..3f3988408b 100644 --- a/siphash.h +++ b/siphash.h @@ -1,7 +1,9 @@ #ifndef SIPHASH_H #define SIPHASH_H 1 #include +#ifdef HAVE_STDINT_H #include +#endif #ifdef HAVE_INTTYPES_H #include #endif -- cgit v1.2.3