summaryrefslogtreecommitdiff
path: root/src/net/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/net.h')
-rw-r--r--src/net/net.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/net.h b/src/net/net.h
index d6bb7d39..e26a4b2d 100644
--- a/src/net/net.h
+++ b/src/net/net.h
@@ -26,7 +26,7 @@
* \defgroup Network Core network layer
*/
-class ServerInfo;
+#include "net/serverinfo.h"
namespace Net {
@@ -58,6 +58,8 @@ PlayerHandler *getPlayerHandler();
SpecialHandler *getSpecialHandler();
TradeHandler *getTradeHandler();
+ServerInfo::Type getNetworkType();
+
/**
* Handles server detection and connection
*/