Include stdint.h or inttypes.h before sha2.h

This commit is contained in:
Todd C. Miller
2013-04-16 12:16:41 -04:00
parent 19d0946023
commit 26a256260d
3 changed files with 88 additions and 73 deletions

View File

@@ -40,6 +40,11 @@
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif /* HAVE_STRINGS_H */
#if defined(HAVE_STDINT_H)
# include <stdint.h>
#elif defined(HAVE_INTTYPES_H)
# include <inttypes.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif /* HAVE_UNISTD_H */