Fix libircclient fix to work with multiple versions
This commit is contained in:
@@ -33,7 +33,15 @@
|
||||
#include <net/ircthread.h>
|
||||
#include <net/socket_msg.h>
|
||||
#include <libircclient/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>
|
||||
#endif
|
||||
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
#include <queue>
|
||||
#include <sstream>
|
||||
|
||||
Reference in New Issue
Block a user