Fix build errors in certain configurations
authorunc0rr
Tue, 04 Jun 2019 22:37:42 +0200
changeset 15126 1a43b570cbe4
parent 15125 febccab419b1
child 15127 4f31954a0b81
Fix build errors in certain configurations
rust/hedgewars-server/src/server/database.rs
--- a/rust/hedgewars-server/src/server/database.rs	Tue Jun 04 22:34:42 2019 +0200
+++ b/rust/hedgewars-server/src/server/database.rs	Tue Jun 04 22:37:42 2019 +0200
@@ -20,12 +20,12 @@
 
 const GET_REPLAY_NAME_QUERY: &str = r"SELECT filename FROM achievements WHERE id = :id";
 
-struct ServerStatistics {
+pub struct ServerStatistics {
     rooms: u32,
     players: u32,
 }
 
-struct Achievements {}
+pub struct Achievements {}
 
 pub struct Database {
     pool: Option<mysql::Pool>,