--- a/src/network/network.cpp Fri Apr 25 02:15:34 2008 +0000
+++ b/src/network/network.cpp Mon May 26 20:45:25 2008 +0000
@@ -1,5 +1,7 @@
/* $Id$ */
+/** @file network.cpp Base functions for networking support. */
+
#include "../stdafx.h"
#include "network_data.h"
@@ -31,6 +33,8 @@
#include "../string_func.h"
#include "../player_func.h"
#include "../settings_type.h"
+#include "../landscape_type.h"
+#include "../rev.h"
#ifdef DEBUG_DUMP_COMMANDS
#include "../core/alloc_func.hpp"
#endif /* DEBUG_DUMP_COMMANDS */
@@ -1470,7 +1474,6 @@
*/
bool IsNetworkCompatibleVersion(const char *other)
{
- extern const char _openttd_revision[];
return strncmp(_openttd_revision, other, NETWORK_REVISION_LENGTH - 1) == 0;
}