Situation:
The function getpwnam() is used in
main/util.c
main/util_script.c
modules/standard/mod_userdir.c
modules/standard/mod_rewrite.c
but only for mod_rewrite.c the file
os/win32/passwd.h
was included. All others were compiled without the prototype.
Under Unix this is no problem, because there we have <pwd.h>
which is already included in conf.h.
Solution:
put the special stuff which was added to mod_rewrite.h into conf.h
where it belongs to, so it is generally used by all modules.
(The <netinet/in.h> is also removed from mod_rewrite.h because
already included in conf.h)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@80409 13f79535-47bb-0310-9956-ffa450edef68
Loading
Please sign in to comment