diff options
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index a6f947eb8..1527a13dc 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -2345,6 +2345,7 @@ if test "x$openssl" = "xyes" ; then | |||
2345 | AC_MSG_CHECKING([OpenSSL header version]) | 2345 | AC_MSG_CHECKING([OpenSSL header version]) |
2346 | AC_RUN_IFELSE( | 2346 | AC_RUN_IFELSE( |
2347 | [AC_LANG_PROGRAM([[ | 2347 | [AC_LANG_PROGRAM([[ |
2348 | #include <stdlib.h> | ||
2348 | #include <stdio.h> | 2349 | #include <stdio.h> |
2349 | #include <string.h> | 2350 | #include <string.h> |
2350 | #include <openssl/opensslv.h> | 2351 | #include <openssl/opensslv.h> |
@@ -2357,7 +2358,8 @@ if test "x$openssl" = "xyes" ; then | |||
2357 | if(fd == NULL) | 2358 | if(fd == NULL) |
2358 | exit(1); | 2359 | exit(1); |
2359 | 2360 | ||
2360 | if ((rc = fprintf(fd ,"%08x (%s)\n", OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT)) <0) | 2361 | if ((rc = fprintf(fd ,"%08lx (%s)\n", |
2362 | (unsigned long)OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT)) <0) | ||
2361 | exit(1); | 2363 | exit(1); |
2362 | 2364 | ||
2363 | exit(0); | 2365 | exit(0); |