From: nekral-guest Date: Wed, 22 Apr 2009 19:54:28 +0000 (+0000) Subject: * src/login.c: Do not include netdb.h. gethostbyname() is no more X-Git-Tag: 4.1.4~142 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f59a69f4b619b36bf763a35f508de3d3f2600571;p=shadow * src/login.c: Do not include netdb.h. gethostbyname() is no more called from within login.c. Also UT_ADDR does not exist anymore. --- diff --git a/ChangeLog b/ChangeLog index 573e6873..f63c1ae5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-04-22 Nicolas François + + * src/login.c: Do not include netdb.h. gethostbyname() is no more + called from within login.c. Also UT_ADDR does not exist anymore. + 2009-04-22 Nicolas François * src/login.c: Check if login is run with effective root diff --git a/src/login.c b/src/login.c index 3f2068e0..cba0e614 100644 --- a/src/login.c +++ b/src/login.c @@ -37,9 +37,6 @@ #include #include #include -#ifdef UT_ADDR -#include -#endif #include #include #include