diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/Glacier/StarterI.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/Glacier/StarterI.cpp b/cpp/src/Glacier/StarterI.cpp index 556cfec308e..5fe65689634 100644 --- a/cpp/src/Glacier/StarterI.cpp +++ b/cpp/src/Glacier/StarterI.cpp @@ -22,9 +22,10 @@ #include <fcntl.h> // -// crypt.h is necessary on older Linux distributions +// crypt.h is necessary on older Linux distributions, but not with +// OpenSSL 0.96x. // -#ifdef __linux__ +#if defined(__linux__) && OPENSSL_VERSION_NUMBER >= 0x0090700fL # include <crypt.h> #endif |