summaryrefslogtreecommitdiff
path: root/siphash.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-09 15:34:31 (GMT)
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-09 15:34:31 (GMT)
commit125ca30ca270683ff029c27e6f5fcc4f26363841 (patch)
tree6f26d66583ff5afe5262a209e2f367f2654c172c /siphash.h
parent36ca3781bd1bed82aa898823cceb03ae99bf3d12 (diff)
* 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
Diffstat (limited to 'siphash.h')
-rw-r--r--siphash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/siphash.h b/siphash.h
index 8f56b99..3f39884 100644
--- a/siphash.h
+++ b/siphash.h
@@ -1,7 +1,9 @@
#ifndef SIPHASH_H
#define SIPHASH_H 1
#include <stdlib.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif