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