summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amade@asmblr.net>2015-09-05 15:37:53 +0000
committerAmadeusz Sławiński <amade@asmblr.net>2015-09-05 15:38:07 +0000
commit2e2410a668be96bcd64afbba2fd601c237f5a68e (patch)
treef5e760728b09a3fd32328806fab903ab2ab02745
parent84c15c98ab2e800571062bdb1ac98d215edb0cc3 (diff)
downloadscreen-2e2410a668be96bcd64afbba2fd601c237f5a68e.tar.gz
Revert "change checks for utmp/utmpx in header"
This thing is more broken than I thought... there is probably less musl linux users than cygwin ones so fully revert This reverts commit 74fdc8988b55633cd05f8625390cd3f6a8102003.
-rw-r--r--src/os.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/os.h b/src/os.h
index 7ceade1..55de249 100644
--- a/src/os.h
+++ b/src/os.h
@@ -250,11 +250,9 @@ extern int errno;
#endif
#if defined(UTMPOK) || defined(BUGGYGETLOGIN)
-# if defined(SVR4) && !defined(DGUX) && !defined(__hpux)
+# if defined(SVR4) && !defined(DGUX) && !defined(__hpux) && !defined(linux)
# include <utmpx.h>
-# ifdef UTMPX_FILE /* GNU extension */
-# define UTMPFILE UTMPX_FILE
-# endif
+# define UTMPFILE UTMPX_FILE
# define utmp utmpx
# define getutent getutxent
# define getutid getutxid