Workaround for issue #282 (should be backward compatible).

This commit is contained in:
lotodore
2015-01-06 15:55:29 +01:00
parent 507fbae5aa
commit bace7cd987
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -32,14 +32,14 @@
#include <net/socket_helper.h>
#include <net/ircthread.h>
#include <net/socket_msg.h>
#include <libircclient/libircclient.h>
#include <libircclient.h>
// We need to do the following to handle different versions of libircclient.
// Sadly, libircclient doesn't have actual definitions for its versions in its headers.
// However, we can use a definition that appeared in the same version we need
// to check for. Hacky, but hey, it works.
#ifdef LIBIRC_OPTION_SSL_NO_VERIFY
#include <libircclient/libirc_rfcnumeric.h>
#include <libirc_rfcnumeric.h>
#endif
#include <boost/algorithm/string/predicate.hpp>