summaryrefslogtreecommitdiff
path: root/src/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/global.h')
-rw-r--r--src/global.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/global.h b/src/global.h
index ed1f3cf9..2b2a8c59 100644
--- a/src/global.h
+++ b/src/global.h
@@ -22,6 +22,8 @@
#define NCMPCPP_GLOBAL_H
#include <boost/date_time/posix_time/posix_time_types.hpp>
+#include <random>
+
#include "mpdpp.h"
#include "screen.h"
@@ -58,6 +60,9 @@ extern std::string VolumeState;
// global timer
extern boost::posix_time::ptime Timer;
+// global RNG
+extern std::mt19937 RNG;
+
}
#endif // NCMPCPP_GLOBAL_H