From: Nikolai Kondrashov Date: Fri, 13 Feb 2015 10:54:29 +0000 (+0100) Subject: Include headers for OpenSSL init X-Git-Tag: release_2_2_7~19^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F907%2Fhead;p=thirdparty%2Ffreeradius-server.git Include headers for OpenSSL init Inlude OpenSSL headers into radiusd.c for OpenSSL init. This fixes "implicit declaration of function" warnings concerning SSL_library_init and SSL_load_error_strings. --- diff --git a/src/main/radiusd.c b/src/main/radiusd.c index 21516a85ba..f29c92809a 100644 --- a/src/main/radiusd.c +++ b/src/main/radiusd.c @@ -53,6 +53,10 @@ RCSID("$Id$") # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif +#ifdef HAVE_OPENSSL_CRYPTO_H +#include +#endif + /* * Global variables. */