From: Eli Zaretskii Date: Fri, 14 Dec 2012 19:43:12 +0000 (+0200) Subject: Fix compilation warnings in the Windows build. X-Git-Tag: emacs-24.3.90~173^2~7^2~588 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7e90af267484ac6f286e91f55d38a31dd36c2395;p=emacs.git 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. --- 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 \