]> git.sesse.net Git - cubemap/blobdiff - main.cpp
Move version identification into a common place.
[cubemap] / main.cpp
index 04d0d3da33b26bd6ae0a44942964d08c230682b2..e258c86424dddcdd614dd3784d4ef59d40c50725 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -27,6 +27,7 @@
 #include "input.h"
 #include "httpinput.h"
 #include "stats.h"
+#include "version.h"
 #include "state.pb.h"
 
 using namespace std;
@@ -323,7 +324,7 @@ void create_streams(const vector<ConfigLine> &config,
 
 int main(int argc, char **argv)
 {
-       fprintf(stderr, "\nCubemap starting.\n");
+       fprintf(stderr, "\nCubemap " SERVER_VERSION " starting.\n");
 
        struct timeval serialize_start;
        bool is_reexec = false;