The check for fips.h requires stddef.h

This commit is contained in:
Gerhard Rieger 2014-03-26 16:23:48 +01:00
parent 9d15417d62
commit bf6ab907d3
2 changed files with 4 additions and 0 deletions

View file

@ -165,6 +165,9 @@ porting:
Artem Mygaiev extended Cedril Priscals Android build script with pty code Artem Mygaiev extended Cedril Priscals Android build script with pty code
The check for fips.h required stddef.h
Thanks to Matt Hilt for reporting this issue and sending a patch
libwrap always logs to syslog libwrap always logs to syslog
added actual text version of GPLv2 added actual text version of GPLv2

View file

@ -603,6 +603,7 @@ if test -n "$WITH_FIPS"; then
# first, we need to find the include file <openssl/fips.h> # first, we need to find the include file <openssl/fips.h>
AC_CACHE_VAL(sc_cv_have_openssl_fips_h, AC_CACHE_VAL(sc_cv_have_openssl_fips_h,
[AC_TRY_COMPILE([#define OPENSSL_FIPS [AC_TRY_COMPILE([#define OPENSSL_FIPS
#include <stddef.h>
#include <openssl/fips.h>],[;], #include <openssl/fips.h>],[;],
[sc_cv_have_openssl_fips_h=yes; ], [sc_cv_have_openssl_fips_h=yes; ],
[sv_cv_have_openssl_fips_h=no [sv_cv_have_openssl_fips_h=no