diff options
Diffstat (limited to 'include/xmlsec/dl.h')
-rw-r--r-- | include/xmlsec/dl.h | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/include/xmlsec/dl.h b/include/xmlsec/dl.h index e04f4f95..4992c754 100644 --- a/include/xmlsec/dl.h +++ b/include/xmlsec/dl.h @@ -1,4 +1,4 @@ -/** +/* * XML Security Library (http://www.aleksey.com/xmlsec). * * @@ -10,6 +10,19 @@ #ifndef __XMLSEC_DL_H__ #define __XMLSEC_DL_H__ +#ifndef XMLSEC_NO_CRYPTO_DYNAMIC_LOADING + +#include <libxml/tree.h> +#include <libxml/xmlIO.h> + +#include <xmlsec/xmlsec.h> +#include <xmlsec/keysdata.h> +#include <xmlsec/keys.h> +#include <xmlsec/keysmngr.h> +#include <xmlsec/transforms.h> + +#endif /* XMLSEC_NO_CRYPTO_DYNAMIC_LOADING */ + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ @@ -22,15 +35,6 @@ XMLSEC_EXPORT int xmlSecCryptoDLFunctionsRegisterK #ifndef XMLSEC_NO_CRYPTO_DYNAMIC_LOADING -#include <libxml/tree.h> -#include <libxml/xmlIO.h> - -#include <xmlsec/xmlsec.h> -#include <xmlsec/keysdata.h> -#include <xmlsec/keys.h> -#include <xmlsec/keysmngr.h> -#include <xmlsec/transforms.h> - /**************************************************************************** * * Dynamic load functions |