diff --git a/server.c b/server.c index 6fef468b..96a638cb 100644 --- a/server.c +++ b/server.c @@ -264,7 +264,7 @@ server_loop(void) struct client *c; u_int items; - current_time = time (NULL); + current_time = time(NULL); do { items = cmdq_next(NULL); diff --git a/tty.c b/tty.c index 359dc137..f6d5618e 100644 --- a/tty.c +++ b/tty.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #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;