diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-06-23 13:22:59 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-06-23 13:22:59 +0300 |
commit | 388cdec072a52e1b647dec159433fd0ffe240be4 (patch) | |
tree | efd6a04f97a631114fd093b4414a9242486e04a5 /lib/stat-time.h | |
parent | f199cab1a97da8c46b719bb73af58acdcb6243c1 (diff) | |
download | emacs-388cdec072a52e1b647dec159433fd0ffe240be4.tar.gz |
Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
nt/inc/sys/time.h (struct timespec): Define.
lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/dtotimespec.$(O),
$(BLD)/gettime.$(O), $(BLD)/timespec-add.$(O), and
$(BLD)/timespec-sub.$(O).
($(BLD)/dtotimespec.$(O)):
($(BLD)/gettime.$(O)):
($(BLD)/timespec-add.$(O)):
($(BLD)/timespec-sub.$(O)): New dependencies.
lib/stat-time.h:
lib/timespec.h:
lib/utimens.h: Include sys/time.h
src/w32.c (fdutimens): New function.
src/w32proc.c (sys_select): Adapt to change in the EMACS_TIME type.
src/s/ms-w32.h (pselect): Redirect to sys_select.
src/sysselect.h [WINDOWSNT]: Don't include sys/select.h.
Fixes: debbugs:9000
Diffstat (limited to 'lib/stat-time.h')
-rw-r--r-- | lib/stat-time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stat-time.h b/lib/stat-time.h index 30c2acdab63..03d49977945 100644 --- a/lib/stat-time.h +++ b/lib/stat-time.h @@ -22,6 +22,7 @@ #include <sys/stat.h> #include <time.h> +#include <sys/time.h> /* STAT_TIMESPEC (ST, ST_XTIM) is the ST_XTIM member for *ST of type struct timespec, if available. If not, then STAT_TIMESPEC_NS (ST, |