summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-05-14 17:53:39 +0300
committerEli Zaretskii <eliz@gnu.org>2017-05-14 17:53:39 +0300
commit3af6909f3249dc8d74349f000117f7063f71adff (patch)
treea7765e34bdb841f665c2636bb9900c81a445431a /nt
parent4132bd74e9816ca913f862835cc062e092ab8b79 (diff)
downloademacs-3af6909f3249dc8d74349f000117f7063f71adff.tar.gz
Fix the MS-Windows build
* nt/inc/sys/time.h (gettimeofday): * src/w32.c (gettimeofday): Adjust signature to match Gnulib.
Diffstat (limited to 'nt')
-rw-r--r--nt/inc/sys/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nt/inc/sys/time.h b/nt/inc/sys/time.h
index f8fb022d221..88ea32bc808 100644
--- a/nt/inc/sys/time.h
+++ b/nt/inc/sys/time.h
@@ -42,7 +42,7 @@ struct timezone
which does not force the use of -std= switch to GCC, and that
causes compilation errors with 'restrict', which is a C99
extension. */
-int gettimeofday (struct timeval *__restrict, struct timezone *__restrict);
+int gettimeofday (struct timeval *__restrict, void *__restrict);
#define ITIMER_REAL 0
#define ITIMER_PROF 1