Fix build
--HG-- branch : trunk
This commit is contained in:
@@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
#include "Util.h"
|
#include "Util.h"
|
||||||
|
|
||||||
#include "socket_include.h"
|
|
||||||
#include "utf8.h"
|
#include "utf8.h"
|
||||||
#ifdef USE_SFMT_FOR_RNG
|
#ifdef USE_SFMT_FOR_RNG
|
||||||
#include "SFMT.h"
|
#include "SFMT.h"
|
||||||
@@ -26,6 +25,7 @@
|
|||||||
#include "MersenneTwister.h"
|
#include "MersenneTwister.h"
|
||||||
#endif
|
#endif
|
||||||
#include <ace/TSS_T.h>
|
#include <ace/TSS_T.h>
|
||||||
|
#include <ace/INET_Addr.h>
|
||||||
|
|
||||||
#ifdef USE_SFMT_FOR_RNG
|
#ifdef USE_SFMT_FOR_RNG
|
||||||
typedef ACE_TSS<SFMTRand> SFMTRandTSS;
|
typedef ACE_TSS<SFMTRand> SFMTRandTSS;
|
||||||
|
|||||||
@@ -41,12 +41,6 @@
|
|||||||
#include "Timer.h"
|
#include "Timer.h"
|
||||||
#include "Util.h"
|
#include "Util.h"
|
||||||
|
|
||||||
#include "TcpSocket.h"
|
|
||||||
#include "Utility.h"
|
|
||||||
#include "Parse.h"
|
|
||||||
#include "Socket.h"
|
|
||||||
#include "SocketHandler.h"
|
|
||||||
#include "ListenSocket.h"
|
|
||||||
#include "BigNumber.h"
|
#include "BigNumber.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
@@ -272,7 +266,7 @@ int Master::Run()
|
|||||||
}
|
}
|
||||||
|
|
||||||
///- Launch the world listener socket
|
///- Launch the world listener socket
|
||||||
port_t wsport = sWorld.getIntConfig(CONFIG_PORT_WORLD);
|
uint16 wsport = sWorld.getIntConfig(CONFIG_PORT_WORLD);
|
||||||
std::string bind_ip = sConfig.GetStringDefault ("BindIP", "0.0.0.0");
|
std::string bind_ip = sConfig.GetStringDefault ("BindIP", "0.0.0.0");
|
||||||
|
|
||||||
if (sWorldSocketMgr->StartNetwork (wsport, bind_ip.c_str ()) == -1)
|
if (sWorldSocketMgr->StartNetwork (wsport, bind_ip.c_str ()) == -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user