diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-12 21:59:09 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-12 21:59:09 +0200 |
commit | 7f1553890e614d5c7afd7f01a11277b822fd4a05 (patch) | |
tree | 1d6cb7011db199d41efb3060ce9ede0c57a3b810 /src/client.h | |
parent | 0c6bf93ee13f0b3344079ebf4e60c5ec8323f0bd (diff) | |
download | mv-7f1553890e614d5c7afd7f01a11277b822fd4a05.tar.gz mv-7f1553890e614d5c7afd7f01a11277b822fd4a05.tar.bz2 mv-7f1553890e614d5c7afd7f01a11277b822fd4a05.tar.xz mv-7f1553890e614d5c7afd7f01a11277b822fd4a05.zip |
Add /uptime chat command to show client uptime.
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 3 |
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 { |