Include <lastlog.h> for the declaration of struct lastlog.

This commit is contained in:
nekral-guest 2008-01-05 17:20:45 +00:00
parent 23e8564812
commit 050364aba2
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,8 @@
* lib/prototypes.h: Add the dolastlog() prototype. * lib/prototypes.h: Add the dolastlog() prototype.
* lib/prototypes.h: Typo: login.c -> loginprompt.c * lib/prototypes.h: Typo: login.c -> loginprompt.c
* src/login.c: Remove declaration of dolastlog(). * src/login.c: Remove declaration of dolastlog().
* lib/prototypes.h: Include <lastlog.h> for the declaration of
struct lastlog.
2008-01-05 Nicolas François <nicolas.francois@centraliens.net> 2008-01-05 Nicolas François <nicolas.francois@centraliens.net>

View File

@ -24,6 +24,7 @@
#include <pwd.h> #include <pwd.h>
#include <grp.h> #include <grp.h>
#include <shadow.h> #include <shadow.h>
#include <lastlog.h>
#include "defines.h" #include "defines.h"