Reporting build time in x0vncserver usage.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2163 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/x0vncserver/x0vncserver.cxx b/unix/x0vncserver/x0vncserver.cxx
index 6dd3551..48be662 100644
--- a/unix/x0vncserver/x0vncserver.cxx
+++ b/unix/x0vncserver/x0vncserver.cxx
@@ -54,6 +54,8 @@
#include <sys/proto.h>
#endif
+extern char buildtime[];
+
using namespace rfb;
using namespace network;
@@ -420,7 +422,8 @@
static void usage()
{
- fprintf(stderr, "TightVNC Server version %s\n\n", VERSION);
+ fprintf(stderr, "TightVNC Server version %s, built %s\n\n",
+ VERSION, buildtime);
fprintf(stderr, "Usage: %s [<parameters>]\n", programName);
fprintf(stderr,"\n"
"Parameters can be turned on with -<param> or off with -<param>=0\n"