diff options
author | Werner Koch <wk@gnupg.org> | 2012-12-03 14:28:12 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2012-12-03 14:28:12 +0100 |
commit | d9ec7aec1301b13a89e5c9c54d7ad52e1a29b846 (patch) | |
tree | feac54455464ecdb31de41967c28881663df9630 /cipher/bufhelp.h | |
parent | 162791bc08f4fc9b3882671e68ecdfd9e130ae59 (diff) | |
download | libgcrypt-d9ec7aec1301b13a89e5c9c54d7ad52e1a29b846.tar.gz |
Try to use inttypes.h if stdint.h is not available.
* cipher/bufhelp.h [HAVE_INTTYPES_H]: Include inttypes.h
--
According to the description of AC_TYPE_UINTPTR_T, this header should
also be included.
Diffstat (limited to 'cipher/bufhelp.h')
-rw-r--r-- | cipher/bufhelp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cipher/bufhelp.h b/cipher/bufhelp.h index a3be24a1..638ca1b2 100644 --- a/cipher/bufhelp.h +++ b/cipher/bufhelp.h @@ -22,6 +22,8 @@ #ifdef HAVE_STDINT_H # include <stdint.h> /* uintptr_t */ +#elif defined(HAVE_INTTYPES_H) +# include <inttypes.h> #else /* In this case, uintptr_t is provided by config.h. */ #endif |