aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/ec.c1
-rw-r--r--apps/ecparam.c2
-rw-r--r--apps/pkcs12.c5
3 files changed, 6 insertions, 2 deletions
diff --git a/apps/ec.c b/apps/ec.c
index a763daa653..9ddaddfe5e 100644
--- a/apps/ec.c
+++ b/apps/ec.c
@@ -56,6 +56,7 @@
*
*/
+#include <openssl/opensslconf.h>
#ifndef OPENSSL_NO_EC
#include <stdio.h>
#include <stdlib.h>
diff --git a/apps/ecparam.c b/apps/ecparam.c
index 167fd1faaa..4e1fc837ed 100644
--- a/apps/ecparam.c
+++ b/apps/ecparam.c
@@ -68,6 +68,8 @@
* Sheueling Chang Shantz and Douglas Stebila of Sun Microsystems Laboratories.
*
*/
+
+#include <openssl/opensslconf.h>
#ifndef OPENSSL_NO_EC
#include <assert.h>
#include <stdio.h>
diff --git a/apps/pkcs12.c b/apps/pkcs12.c
index d77358a239..c22c00fce1 100644
--- a/apps/pkcs12.c
+++ b/apps/pkcs12.c
@@ -1,6 +1,4 @@
/* pkcs12.c */
-#if !defined(OPENSSL_NO_DES) && !defined(OPENSSL_NO_SHA1)
-
/* Written by Dr Stephen N Henson (shenson@bigfoot.com) for the OpenSSL
* project.
*/
@@ -58,6 +56,9 @@
*
*/
+#include <openssl/opensslconf.h>
+#if !defined(OPENSSL_NO_DES) && !defined(OPENSSL_NO_SHA1)
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>