author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | |
Sat, 3 Mar 2007 18:28:52 +0000 (18:28 +0000) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 4 Mar 2007 02:55:04 +0000 (18:55 -0800) | ||
commit | 41b200179dfac7bf4c3b98270951937b537e2b24 | |
tree | dd3b103f994e2a2c05cd3c1364c88031f20b53f4 | tree | snapshot |
parent | ee96d11bebcbb4826f9b59b5dca64e2b8a204bc0 | commit | diff |
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>
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 | diff | blob | history |