* 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:
parent
efcbbc3d74
commit
f59a69f4b6
@ -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>
|
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* src/login.c: Check if login is run with effective root
|
* src/login.c: Check if login is run with effective root
|
||||||
|
@ -37,9 +37,6 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <grp.h>
|
#include <grp.h>
|
||||||
#include <lastlog.h>
|
#include <lastlog.h>
|
||||||
#ifdef UT_ADDR
|
|
||||||
#include <netdb.h>
|
|
||||||
#endif
|
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user