summaryrefslogtreecommitdiff
path: root/louloulibs/network
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-12-04 16:26:32 +0100
committerlouiz’ <louiz@louiz.org>2016-12-04 16:26:32 +0100
commita66c67e291327c3ae5d6005a38c8d257b4333581 (patch)
tree5a8a0a10744499f38d8d3a0b20198551ac23c09c /louloulibs/network
parent3ef78f44180c9f6ed7a98672a69ea0f3b35b1eac (diff)
downloadbiboumi-a66c67e291327c3ae5d6005a38c8d257b4333581.tar.gz
biboumi-a66c67e291327c3ae5d6005a38c8d257b4333581.tar.bz2
biboumi-a66c67e291327c3ae5d6005a38c8d257b4333581.tar.xz
biboumi-a66c67e291327c3ae5d6005a38c8d257b4333581.zip
Add a missing ifdef botan
Diffstat (limited to 'louloulibs/network')
-rw-r--r--louloulibs/network/tcp_socket_handler.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/louloulibs/network/tcp_socket_handler.hpp b/louloulibs/network/tcp_socket_handler.hpp
index 8825a3a..a44036d 100644
--- a/louloulibs/network/tcp_socket_handler.hpp
+++ b/louloulibs/network/tcp_socket_handler.hpp
@@ -47,8 +47,10 @@ public:
* But doesn’t do any connect() or accept() or anything else.
*/
class TCPSocketHandler: public SocketHandler
-#if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,11,32)
+#ifdef BOTAN_FOUND
+# if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,11,32)
,public Botan::TLS::Callbacks
+# endif
#endif
{
protected: