freebsd-ports/games/pokerth/files/patch-src_net_common_ircthread.cpp

21 lines
767 B
C++
Raw Normal View History

--- src/net/common/ircthread.cpp.orig 2014-01-10 21:18:20 UTC
+++ src/net/common/ircthread.cpp
2013-04-21 18:22:44 +02:00
@@ -32,14 +32,15 @@
#include <net/socket_helper.h>
#include <net/ircthread.h>
#include <net/socket_msg.h>
-#include <libircclient/libircclient.h>
+#include <libircclient.h>
+#include <libirc_rfcnumeric.h>
2013-04-21 18:22:44 +02:00
// 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>