Include "internal/dso_conf.h" where needed and appropriate
authorRichard Levitte <levitte@openssl.org>
Fri, 23 Mar 2018 00:05:23 +0000 (01:05 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 23 Mar 2018 00:05:23 +0000 (01:05 +0100)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5733)

crypto/init.c
test/build.info
test/shlibloadtest.c

index 27be7b6123f0c452c134967e9133f7c51c71dee9..a0bad564e64cb9ee299ab9b6e4f62948d08ad726 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <assert.h>
 #include "internal/thread_once.h"
+#include "internal/dso_conf.h"
 #include "internal/dso.h"
 #include "internal/store.h"
 
index ddd3e2028aaa969d2bcfe63f02a8d48044b99767..f6f36fa0b28a2b6c6d438e91d6489f5a6600a284 100644 (file)
@@ -378,7 +378,7 @@ INCLUDE_MAIN___test_libtestutil_OLB = /INCLUDE=MAIN
   IF[{- !$disabled{shared} -}]
     PROGRAMS_NO_INST=shlibloadtest
     SOURCE[shlibloadtest]=shlibloadtest.c
-    INCLUDE[shlibloadtest]=../include
+    INCLUDE[shlibloadtest]=../include ../crypto/include
     DEPEND[shlibloadtest]=libtestutil.a
   ENDIF
 
index f759a3198c40ee26034a818ddbc5b89bdfbd85bc..ea5044e642a2670a9edefbf95ad51ed79128a34f 100644 (file)
@@ -13,6 +13,7 @@
 #include <openssl/opensslv.h>
 #include <openssl/ssl.h>
 #include <openssl/ossl_typ.h>
+#include "internal/dso_conf.h"
 #include "testutil.h"
 
 typedef void DSO;