summaryrefslogtreecommitdiff
path: root/src/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os.h')
-rw-r--r--src/os.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/os.h b/src/os.h
index 5bcf58f..92d8979 100644
--- a/src/os.h
+++ b/src/os.h
@@ -132,29 +132,7 @@
#endif
#if defined(UTMPOK) || defined(BUGGYGETLOGIN)
-# if defined(SVR4) && !defined(DGUX) && !defined(__hpux) && !defined(linux)
-# include <utmpx.h>
-# define UTMPFILE UTMPX_FILE
-# define utmp utmpx
-# define getutent getutxent
-# define getutid getutxid
-# define getutline getutxline
-# define pututline pututxline
-# define setutent setutxent
-# define endutent endutxent
-# define ut_time ut_xtime
-# else /* SVR4 */
-# include <utmp.h>
-# endif /* SVR4 */
-# ifdef apollo
- /*
- * We don't have GETUTENT, so we dig into utmp ourselves.
- * But we save the permanent filedescriptor and
- * open utmp just when we need to.
- * This code supports an unsorted utmp. jw.
- */
-# define UTNOKEEP
-# endif /* apollo */
+# include <utmp.h>
# ifndef UTMPFILE
# ifdef UTMP_FILE