1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-05 19:31:04 +00:00

Avoid including client headers on server builds

This commit is contained in:
sfan5 2024-03-17 22:55:37 +01:00
parent bc4ab8b99e
commit 5727d74d37
8 changed files with 25 additions and 5 deletions

View file

@ -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;