From 6505961801309607a8df0b319cc8ddf1fe4a1412 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Wed, 16 Sep 2009 00:36:47 -0700 Subject: [PATCH] double include protection --- include/crypto-headers.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/include/crypto-headers.h b/include/crypto-headers.h index c1ec1f6c3..60737aa56 100644 --- a/include/crypto-headers.h +++ b/include/crypto-headers.h @@ -1,11 +1,14 @@ +#ifndef __crypto_header__ +#define __crypto_header__ + #ifndef PACKAGE_NAME #error "need config.h" #endif -#ifdef HAVE__OPENSSL -#ifndef OPENSSL_DES_LIBDES_COMPATIBILITY +#ifdef HAVE_OPENSSL + #define OPENSSL_DES_LIBDES_COMPATIBILITY -#endif + #include #include #include @@ -52,3 +55,5 @@ #include #endif /* HAVE_OPENSSL */ + +#endif /* __crypto_header__ */