Fix client.h getting included on the server build
authorPerttu Ahola <celeron55@gmail.com>
Sat, 31 Mar 2012 13:32:00 +0000 (16:32 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 31 Mar 2012 13:32:00 +0000 (16:32 +0300)
src/mapsector.cpp

index 9b54328076ba69a1c8f4cfb88e299726768ed7c4..3bbd95bea120e851f4b89ef47e23cb87829c9c17 100644 (file)
@@ -19,7 +19,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 #include "mapsector.h"
 #include "jmutexautolock.h"
+#ifndef SERVER
 #include "client.h"
+#endif
 #include "exceptions.h"
 #include "mapblock.h"