aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 7937e15a442..74a16180b73 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -871,7 +871,7 @@ XTflash (f)
871 { 871 {
872 struct timeval wakeup, now; 872 struct timeval wakeup, now;
873 873
874 gettimeofday (&wakeup, (struct timezone *) 0); 874 EMACS_GET_TIME (&wakeup);
875 875
876 /* Compute time to wait until, propagating carry from usecs. */ 876 /* Compute time to wait until, propagating carry from usecs. */
877 wakeup.tv_usec += 150000; 877 wakeup.tv_usec += 150000;
@@ -883,7 +883,7 @@ XTflash (f)
883 { 883 {
884 struct timeval timeout; 884 struct timeval timeout;
885 885
886 gettimeofday (&timeout, (struct timezone *)0); 886 EMACS_GET_TIME (&timeout);
887 887
888 /* In effect, timeout = wakeup - timeout. 888 /* In effect, timeout = wakeup - timeout.
889 Break if result would be negative. */ 889 Break if result would be negative. */