Fix build issues.

This commit is contained in:
JoelKatz
2012-12-13 10:34:13 -08:00
parent 5275d915c9
commit 25abc284be
4 changed files with 26 additions and 7 deletions

View File

@@ -1,8 +1,13 @@
#include "Pathfinder.h" #include "Pathfinder.h"
#include <queue>
#include <boost/foreach.hpp>
#include "Application.h" #include "Application.h"
#include "AccountItems.h" #include "AccountItems.h"
#include "Log.h" #include "Log.h"
#include <boost/foreach.hpp>
SETUP_LOG(); SETUP_LOG();

View File

@@ -2,6 +2,12 @@
// carries out the RPC // carries out the RPC
// //
#include <openssl/md5.h>
#include <boost/foreach.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include "Pathfinder.h"
#include "Log.h" #include "Log.h"
#include "NetworkOPs.h" #include "NetworkOPs.h"
#include "RPCHandler.h" #include "RPCHandler.h"
@@ -16,9 +22,6 @@
#include "InstanceCounter.h" #include "InstanceCounter.h"
#include "Offer.h" #include "Offer.h"
#include "Pathfinder.h"
#include <boost/foreach.hpp>
#include <openssl/md5.h>
SETUP_LOG(); SETUP_LOG();

View File

@@ -1,6 +1,10 @@
#include "Log.h" #include "Log.h"
#define WSDOOR_CPP
#include "../websocketpp/src/sockets/tls.hpp"
#include "../websocketpp/src/websocketpp.hpp"
SETUP_LOG(); SETUP_LOG();
#include "Application.h" #include "Application.h"

View File

@@ -1,15 +1,22 @@
#ifndef __WSDOOR__ #ifndef __WSDOOR__
#define __WSDOOR__ #define __WSDOOR__
#include "../websocketpp/src/sockets/tls.hpp"
#include "../websocketpp/src/websocketpp.hpp"
#include <boost/asio.hpp> #include <boost/asio.hpp>
#include <boost/asio/ssl.hpp> #include <boost/asio/ssl.hpp>
#include <boost/enable_shared_from_this.hpp> #include <boost/enable_shared_from_this.hpp>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
#include <boost/thread.hpp> #include <boost/thread.hpp>
#ifndef WSDOOR_CPP
namespace websocketpp
{
class server;
class server_tls;
}
#endif
class WSDoor class WSDoor
{ {
private: private: