From: Perttu Ahola Date: Sat, 31 Mar 2012 13:32:00 +0000 (+0300) Subject: Fix client.h getting included on the server build X-Git-Tag: 0.4.dev-20120408~59 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0fbef74f3159422bc4a299226ab05692218f2c3b;p=oweals%2Fminetest.git Fix client.h getting included on the server build --- 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"