summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-12 21:59:09 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-12 21:59:09 +0200
commit7f1553890e614d5c7afd7f01a11277b822fd4a05 (patch)
tree1d6cb7011db199d41efb3060ce9ede0c57a3b810 /src/client.h
parent0c6bf93ee13f0b3344079ebf4e60c5ec8323f0bd (diff)
downloadplus-7f1553890e614d5c7afd7f01a11277b822fd4a05.tar.gz
plus-7f1553890e614d5c7afd7f01a11277b822fd4a05.tar.bz2
plus-7f1553890e614d5c7afd7f01a11277b822fd4a05.tar.xz
plus-7f1553890e614d5c7afd7f01a11277b822fd4a05.zip
Add /uptime chat command to show client uptime.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index e3f596c1a..eb859f0a8 100644
--- a/src/client.h
+++ b/src/client.h
@@ -34,6 +34,8 @@
#include <string>
+#include <sys/time.h>
+
#ifdef __GNUC__
#define _UNUSED_ __attribute__ ((unused))
#else
@@ -60,6 +62,7 @@ extern volatile int tick_time;
extern volatile int cur_time;
extern bool isSafeMode;
extern int serverVersion;
+extern int start_time;
class ErrorListener : public gcn::ActionListener
{