diff options
-rw-r--r-- | src/lib/ffi/ffi.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/ffi/ffi.cpp b/src/lib/ffi/ffi.cpp index 8e341d83d..b888cc0d6 100644 --- a/src/lib/ffi/ffi.cpp +++ b/src/lib/ffi/ffi.cpp @@ -26,7 +26,6 @@ #include <botan/reducer.h> #include <botan/numthry.h> #include <botan/divide.h> -#include <botan/elgamal.h> #include <cstring> #include <memory> @@ -34,6 +33,10 @@ #include <botan/rsa.h> #endif +#if defined(BOTAN_HAS_ELGAMAL) + #include <botan/elgamal.h> +#endif + #if defined(BOTAN_HAS_DSA) #include <botan/dsa.h> #endif |