diff --git a/lib/libtdekrb/src/tdekrbclientsocket.cpp b/lib/libtdekrb/src/tdekrbclientsocket.cpp index 35544c2..4b2a5a6 100644 --- a/lib/libtdekrb/src/tdekrbclientsocket.cpp +++ b/lib/libtdekrb/src/tdekrbclientsocket.cpp @@ -34,6 +34,10 @@ #include "tdekrbclientsocket.h" +#if SASL_VERSION_FULL < 0x020119 +typedef int (*sasl_callback_ft)(void); +#endif // SASL_VERSION_FULL + #define NET_SEC_BUF_SIZE (2048) // When control comes back from processEvents() my object may be completely gone! This attempts to mitigate the risk @@ -1025,4 +1029,4 @@ int TDEKerberosClientSocket::initializeKerberosInterface() { if (kerberosInitLoopTimer) kerberosInitLoopTimer->start(0, TRUE); return 0; -} \ No newline at end of file +} diff --git a/lib/libtdekrb/src/tdekrbserversocket.cpp b/lib/libtdekrb/src/tdekrbserversocket.cpp index 374bda0..72e4df8 100644 --- a/lib/libtdekrb/src/tdekrbserversocket.cpp +++ b/lib/libtdekrb/src/tdekrbserversocket.cpp @@ -34,6 +34,10 @@ #include "tdekrbserversocket.h" +#if SASL_VERSION_FULL < 0x020119 +typedef int (*sasl_callback_ft)(void); +#endif // SASL_VERSION_FULL + #define NET_SEC_BUF_SIZE (2048) // When control comes back from processEvents() my object may be completely gone! This attempts to mitigate the risk @@ -1058,4 +1062,4 @@ int TDEKerberosServerSocket::initializeKerberosInterface() { if (kerberosInitLoopTimer) kerberosInitLoopTimer->start(0, TRUE); return 0; -} \ No newline at end of file +}