summaryrefslogtreecommitdiffstats
path: root/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tty.c b/tty.c
index 359dc137..f6d5618e 100644
--- a/tty.c
+++ b/tty.c
@@ -28,6 +28,7 @@
#include <stdlib.h>
#include <string.h>
#include <termios.h>
+#include <time.h>
#include <unistd.h>
#include "tmux.h"
@@ -379,13 +380,13 @@ tty_send_requests(struct tty *tty)
tty_puts(tty, "\033]11;?\033\\");
} else
tty->flags |= TTY_ALL_REQUEST_FLAGS;
- tty->last_requests = time (NULL);
+ tty->last_requests = time(NULL);
}
void
tty_repeat_requests(struct tty *tty)
{
- time_t t = time (NULL);
+ time_t t = time(NULL);
if (~tty->flags & TTY_STARTED)
return;