diff options
-rw-r--r-- | test/lv2_test_host.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/test/lv2_test_host.cc b/test/lv2_test_host.cc index 07685d0..927f94c 100644 --- a/test/lv2_test_host.cc +++ b/test/lv2_test_host.cc @@ -40,7 +40,17 @@ // #include <openssl/bio.h> #include <openssl/err.h> -#include <openssl/evp.h> + +#ifdef final +// final is used as variable name in evp.h so we need to undef it before we +// include it. + #undef final + #include <openssl/evp.h> + #define final +#else + #include <openssl/evp.h> +#endif + #include <string> class Base64 { public: |