From 050364aba2f8217d8baeb4180583226e63aa9fa8 Mon Sep 17 00:00:00 2001 From: nekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7> Date: Sat, 5 Jan 2008 17:20:45 +0000 Subject: [PATCH] Include <lastlog.h> for the declaration of struct lastlog. --- ChangeLog | 2 ++ lib/prototypes.h | 1 + 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8ff27cf6..39962ef2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ * lib/prototypes.h: Add the dolastlog() prototype. * lib/prototypes.h: Typo: login.c -> loginprompt.c * 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> diff --git a/lib/prototypes.h b/lib/prototypes.h index b3106a0e..39c1cd57 100644 --- a/lib/prototypes.h +++ b/lib/prototypes.h @@ -24,6 +24,7 @@ #include <pwd.h> #include <grp.h> #include <shadow.h> +#include <lastlog.h> #include "defines.h"