OpenBSD has intypes.h
authorMatt Caswell <matt@openssl.org>
Wed, 15 Jun 2016 15:06:44 +0000 (16:06 +0100)
committerMatt Caswell <matt@openssl.org>
Sat, 18 Jun 2016 14:34:03 +0000 (15:34 +0100)
Update e_os2.h so that inttypes.h is included.

RT4378

Reviewed-by: Richard Levitte <levitte@openssl.org>
include/openssl/e_os2.h

index 198ebdf..99ea347 100644 (file)
@@ -245,7 +245,7 @@ typedef UINT64 uint64_t;
 #  define PRIu64 "%Lu"
 # elif (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
      defined(__osf__) || defined(__sgi) || defined(__hpux) || \
-     defined(OPENSSL_SYS_VMS)
+     defined(OPENSSL_SYS_VMS) || defined (__OpenBSD__)
 #  include <inttypes.h>
 # elif defined(_MSC_VER) && _MSC_VER<=1500
 /*