mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-18 02:45:21 +02:00
Avoid including client headers on server builds
This commit is contained in:
@@ -24,6 +24,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "activeobjectmgr.h" // client::ActiveObjectMgr
|
||||
#include <set>
|
||||
|
||||
#ifdef SERVER
|
||||
#error Do not include in server builds
|
||||
#endif
|
||||
|
||||
class ClientSimpleObject;
|
||||
class ClientMap;
|
||||
class ClientScripting;
|
||||
|
Reference in New Issue
Block a user