fix constraint violation in ftw
[oweals/musl.git] / include / utmp.h
index 540bec3484abd60303a05f667941ea184c710373..b145a11d146eec4e6765f86f5dbbc0075bae0032 100644 (file)
@@ -7,6 +7,16 @@ extern "C" {
 
 #include <utmpx.h>
 
+#define ACCOUNTING 9
+#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