about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/utmpbits.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/utmpbits.h')
-rw-r--r--sysdeps/unix/sysv/utmpbits.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/utmpbits.h b/sysdeps/unix/sysv/utmpbits.h
index e8d9334af1..3d2ccf3b12 100644
--- a/sysdeps/unix/sysv/utmpbits.h
+++ b/sysdeps/unix/sysv/utmpbits.h
@@ -23,6 +23,12 @@ Cambridge, MA 02139, USA.  */
 
 #include <time.h>
 
+#define _PATH_UTMP      "/var/adm/utmp"
+#define _PATH_WTMP      "/var/adm/wtmp"
+#define _PATH_LASTLOG   "/var/adm/lastlog"
+
+__BEGIN_DECLS
+
 struct utmp
   {
 #define	ut_name	ut_user
@@ -39,4 +45,14 @@ struct utmp
     time_t ut_time;
   };
 
+
+/* Tell the user that we have a modern system with UT_HOST, UT_TYPE, UT_ID
+   and UT_TV fields.  */
+#define _HAVE_UT_TYPE	1
+#define _HAVE_UT_ID	1
+#define _HAVE_UT_TV	1
+#define _HAVE_UT_HOST	1
+
+__END_DECLS
+
 #endif /* utmpbits.h  */