aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-31 16:32:00 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-03-31 16:32:00 +0300
commit0fbef74f3159422bc4a299226ab05692218f2c3b (patch)
treef1dbe9aaca05caa05c421fa6748af3978f5bc1bb
parent52122c342d335a2561ace87c9d8deaa16a136604 (diff)
downloadminetest-0fbef74f3159422bc4a299226ab05692218f2c3b.tar.gz
minetest-0fbef74f3159422bc4a299226ab05692218f2c3b.tar.bz2
minetest-0fbef74f3159422bc4a299226ab05692218f2c3b.zip
Fix client.h getting included on the server build
-rw-r--r--src/mapsector.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapsector.cpp b/src/mapsector.cpp
index 9b5432807..3bbd95bea 100644
--- a/src/mapsector.cpp
+++ b/src/mapsector.cpp
@@ -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"