Merge pull request #170 from svenstaro/master

Fix compilation on newer libircclient
This commit is contained in:
lotodore
2013-01-14 12:22:36 -08:00
+9
View File
@@ -33,6 +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>