summaryrefslogtreecommitdiff
path: root/user/screen/utmpx.patch
blob: c8c6f444bd1161010935769e5e536b6f6c46afd7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- screen-4.6.2/os.h.old	2018-09-27 23:11:11.655480028 -0700
+++ screen-4.6.2/os.h	2018-09-27 23:11:34.745808665 -0700
@@ -250,17 +250,13 @@
 #endif
 
 #if defined(UTMPOK) || defined(BUGGYGETLOGIN)
-# if defined(SVR4) && !defined(DGUX) && !defined(__hpux) && !defined(linux)
+# if 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 */