From 2a9f10991526ca34765c3eb17c412a2928e6c9a3 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 12 Oct 2012 17:22:50 +0200 Subject: [PATCH] Update dependencies in src/makefile.w32-in. src/makefile.w32-in ($(BLD)/fileio.$(O)): Add sys/file.h. --- src/ChangeLog | 2 ++ src/makefile.w32-in | 1 + 2 files changed, 3 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 76f0226c0bf..e2ed9293668 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2012-10-12 Eli Zaretskii + * makefile.w32-in ($(BLD)/fileio.$(O)): Add sys/file.h. + * fileio.c (check_existing): New function. (make_temp_name, Ffile_exists_p, Ffile_writable_p): Call it instead of calling 'stat', when what's needed is to check whether diff --git a/src/makefile.w32-in b/src/makefile.w32-in index 40a075dbf3c..97e303a01d4 100644 --- a/src/makefile.w32-in +++ b/src/makefile.w32-in @@ -835,6 +835,7 @@ $(BLD)/fileio.$(O) : \ $(NT_INC)/pwd.h \ $(NT_INC)/sys/stat.h \ $(NT_INC)/unistd.h \ + $(NT_INC)/sys/file.h \ $(BUFFER_H) \ $(CHARACTER_H) \ $(CODING_H) \ -- 2.39.2