diff options
Diffstat (limited to 'src/Blowfish.c')
-rw-r--r-- | src/Blowfish.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Blowfish.c b/src/Blowfish.c index fd90fd7..9985728 100644 --- a/src/Blowfish.c +++ b/src/Blowfish.c @@ -30,10 +30,12 @@ #include "config.h" #if HAVE_STDINT_H # include <stdint.h> -#elif defined(__sun) || defined(__sun__) +#elif HAVE_INTTYPES_H +# include <inttypes.h> +#elif HAVE_SYS_INTTYPES_H # include <sys/inttypes.h> #else -# error "stdint.h not found" +# error "stdint.h and inttypes.h not found" #endif #include <assert.h> #include <string.h> |