From 0fbef74f3159422bc4a299226ab05692218f2c3b Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 31 Mar 2012 16:32:00 +0300 Subject: [PATCH] Fix client.h getting included on the server build --- src/mapsector.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mapsector.cpp b/src/mapsector.cpp index 9b543280..3bbd95be 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"