The check for fips.h requires stddef.h

This commit is contained in:
Gerhard Rieger 2014-03-01 18:24:34 +01:00
parent bc38f04072
commit 9585312903
2 changed files with 4 additions and 0 deletions

View file

@ -75,6 +75,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
docu: docu:
libwrap always logs to syslog libwrap always logs to syslog

View file

@ -587,6 +587,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