aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/gnu/utmpbits.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/gnu/utmpbits.h')
-rw-r--r--sysdeps/gnu/utmpbits.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/gnu/utmpbits.h b/sysdeps/gnu/utmpbits.h
index 8b939ce..e8c41f8 100644
--- a/sysdeps/gnu/utmpbits.h
+++ b/sysdeps/gnu/utmpbits.h
@@ -77,7 +77,12 @@ struct utmp
#define ut_time ut_tv.tv_sec /* Backwards compatibility. */
+/* Tell the user that we have a modern system with UT_TYPE, UT_ID
+ and UT_TV fields. */
+#define _HAVE_UT_TYPE 1
+#define _HAVE_UT_ID 1
+#define _HAVE_UT_TV 1
+
__END_DECLS
#endif /* !_UTMP_H_ */
-