]> granicus.if.org Git - shadow/commitdiff
* src/login.c: Do not include netdb.h. gethostbyname() is no more
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Wed, 22 Apr 2009 19:54:28 +0000 (19:54 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Wed, 22 Apr 2009 19:54:28 +0000 (19:54 +0000)
called from within login.c. Also UT_ADDR does not exist anymore.

ChangeLog
src/login.c

index 573e6873038ac9522a9513663600ef97e601aa58..f63c1ae5a57c7adb1cb599b27ae7d8e2bc6a55b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 3f2068e0ab07bfe639331b9d895443c2dd8d99ba..cba0e614b936d71598784570f6abab157b57a36a 100644 (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>