aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/openssl/e_os2.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/openssl/e_os2.h b/include/openssl/e_os2.h
index 07428e9439..bbfb48e4ba 100644
--- a/include/openssl/e_os2.h
+++ b/include/openssl/e_os2.h
@@ -321,8 +321,10 @@ typedef unsigned __int64 uint64_t;
* some systems (e.g. Mac OS X).
*/
# ifndef PRIu64
-# if (__STDC_VERSION__ >= 199901L)
-# include <inttypes.h>
+# ifdef __STDC_VERSION__
+# if (__STDC_VERSION__ >= 199901L)
+# include <inttypes.h>
+# endif
# endif
# ifndef PRIu64
# define PRIu64 "lu"