diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-24 15:25:53 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-24 15:25:53 -0600 |
commit | 1a09f3b991b47db6ddc02daf105aa33cce4ecdbe (patch) | |
tree | eb6e179a9d976673589d0773756922390bcfffc0 /lib | |
parent | 924afb3241ecf902617cce0eea1a0176a6b52a16 (diff) | |
download | ulab-1a09f3b991b47db6ddc02daf105aa33cce4ecdbe.tar.gz ulab-1a09f3b991b47db6ddc02daf105aa33cce4ecdbe.zip |
Fix libtdekrb FTBFS on older Ubuntu versions
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libtdekrb/src/tdekrbclientsocket.cpp | 6 | ||||
-rw-r--r-- | lib/libtdekrb/src/tdekrbserversocket.cpp | 6 |
2 files changed, 10 insertions, 2 deletions
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 +} |