From 7e90af267484ac6f286e91f55d38a31dd36c2395 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 14 Dec 2012 21:43:12 +0200 Subject: Fix compilation warnings in the Windows build. src/editfns.c [HAVE_PWD_H]: Include grp.h. src/makefile.w32-in ($(BLD)/editfns.$(O)): Add $(NT_INC)/grp.h. --- src/ChangeLog | 6 ++++++ src/editfns.c | 1 + src/makefile.w32-in | 1 + 3 files changed, 8 insertions(+) (limited to 'src') diff --git a/src/ChangeLog b/src/ChangeLog index ff80763f351..d29988b39ba 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2012-12-14 Eli Zaretskii + + * editfns.c [HAVE_PWD_H]: Include grp.h. + + * makefile.w32-in ($(BLD)/editfns.$(O)): Add $(NT_INC)/grp.h. + 2012-12-14 Paul Eggert Fix permissions bugs with setgid directories etc. (Bug#13125) diff --git a/src/editfns.c b/src/editfns.c index 108c8b27187..911cd416e80 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -24,6 +24,7 @@ along with GNU Emacs. If not, see . */ #ifdef HAVE_PWD_H #include +#include #endif #include diff --git a/src/makefile.w32-in b/src/makefile.w32-in index facf79cf849..b595defdf6b 100644 --- a/src/makefile.w32-in +++ b/src/makefile.w32-in @@ -781,6 +781,7 @@ $(BLD)/editfns.$(O) : \ $(SRC)/editfns.c \ $(SRC)/blockinput.h \ $(NT_INC)/pwd.h \ + $(NT_INC)/grp.h \ $(NT_INC)/unistd.h \ $(GNU_LIB)/intprops.h \ $(GNU_LIB)/strftime.h \ -- cgit v1.2.1