* src/login.c: Do not include netdb.h. gethostbyname() is no more

called from within login.c. Also UT_ADDR does not exist anymore.
This commit is contained in:
nekral-guest 2009-04-22 19:54:28 +00:00
parent efcbbc3d74
commit f59a69f4b6
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
* 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 <nicolas.francois@centraliens.net>
* src/login.c: Check if login is run with effective root

View File

@ -37,9 +37,6 @@
#include <errno.h>
#include <grp.h>
#include <lastlog.h>
#ifdef UT_ADDR
#include <netdb.h>
#endif
#include <pwd.h>
#include <signal.h>
#include <stdio.h>