Fix build with redis
authorShadowNinja <shadowninja@minetest.net>
Mon, 22 Sep 2014 01:00:20 +0000 (21:00 -0400)
committerShadowNinja <shadowninja@minetest.net>
Mon, 22 Sep 2014 01:02:49 +0000 (21:02 -0400)
Broken by 6bc4cad0eddd7a7cf593ca1471599e2d75727379 because database-redis.h
depended on settings.h to include filesys.h.

src/database-redis.cpp

index b9e75ededd957d8452a946cab59fddfc7530aaac..028a0ab4d8de990d74c95d00928f96b7b2c99bb3 100644 (file)
@@ -35,6 +35,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "main.h"
 #include "settings.h"
 #include "log.h"
+#include "filesys.h"
+
 
 Database_Redis::Database_Redis(ServerMap *map, std::string savedir)
 {