summaryrefslogtreecommitdiff
path: root/src/net/protocol.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-17 16:17:30 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-17 16:17:30 +0000
commit443035526dcdc02af8ae7546f29506c982013880 (patch)
treed82c66c4f184f29ccedf9db65a08551cf55ce9e6 /src/net/protocol.cpp
parentd0c97b98e477cfdf46ed7f36fd16c64f7943d551 (diff)
downloadmana-client-443035526dcdc02af8ae7546f29506c982013880.tar.gz
mana-client-443035526dcdc02af8ae7546f29506c982013880.tar.bz2
mana-client-443035526dcdc02af8ae7546f29506c982013880.tar.xz
mana-client-443035526dcdc02af8ae7546f29506c982013880.zip
Got stuff to work with Dev-C++
Diffstat (limited to 'src/net/protocol.cpp')
-rw-r--r--src/net/protocol.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/protocol.cpp b/src/net/protocol.cpp
index 6a519a0f..bca630b1 100644
--- a/src/net/protocol.cpp
+++ b/src/net/protocol.cpp
@@ -21,7 +21,17 @@
* $Id$
*/
+#include "../main.h"
+#include "../being.h"
#include "protocol.h"
+#include "network.h"
+
+#ifdef WIN32
+#include <windows.h>
+#else
+#include "win2linux.h"
+#endif
+
short packet_lengths[] = {
10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,