]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/include/opt.h
Fix app opt compile failure due to missing <inttypes.h>
[thirdparty/openssl.git] / apps / include / opt.h
index ecfa06e0b4dbb6c4453593549d17ed35b9b2238b..81faf7057d53b8080a489b5383c134fee9d193d5 100644 (file)
@@ -317,7 +317,8 @@ int opt_int(const char *arg, int *result);
 int opt_ulong(const char *arg, unsigned long *result);
 int opt_long(const char *arg, long *result);
 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L && \
-    defined(INTMAX_MAX) && defined(UINTMAX_MAX)
+    defined(INTMAX_MAX) && defined(UINTMAX_MAX) && \
+    !defined(OPENSSL_NO_INTTYPES_H)
 int opt_imax(const char *arg, intmax_t *result);
 int opt_umax(const char *arg, uintmax_t *result);
 #else