Code

Fix an "implicit function definition" warning.
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Sat, 3 Mar 2007 18:28:52 +0000 (18:28 +0000)
committerJunio C Hamano <junkio@cox.net>
Sun, 4 Mar 2007 02:55:04 +0000 (18:55 -0800)
commit41b200179dfac7bf4c3b98270951937b537e2b24
treedd3b103f994e2a2c05cd3c1364c88031f20b53f4
parentee96d11bebcbb4826f9b59b5dca64e2b8a204bc0
Fix an "implicit function definition" warning.

The function at issue being initgroups() from the <grp.h> header
file. On Cygwin, setting _XOPEN_SOURCE suppresses the definition
of initgroups(), which causes the warning while compiling daemon.c.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-compat-util.h