about summary refs log tree commit diff
path: root/include/utmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utmp.h')
-rw-r--r--include/utmp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/utmp.h b/include/utmp.h
index 92519c2e..b145a11d 100644
--- a/include/utmp.h
+++ b/include/utmp.h
@@ -11,6 +11,12 @@ extern "C" {
 #define UT_NAMESIZE 32
 #define UT_HOSTSIZE 256
 
+struct lastlog {
+	time_t ll_time;
+	char ll_line[UT_LINESIZE];
+	char ll_host[UT_HOSTSIZE];
+};
+
 #define ut_time ut_tv.tv_sec
 #define ut_name ut_user
 #define ut_exit __ut_exit