diff options
author | Amadeusz Sławiński <amade@asmblr.net> | 2015-09-05 15:37:53 +0000 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2015-09-05 15:38:07 +0000 |
commit | 2e2410a668be96bcd64afbba2fd601c237f5a68e (patch) | |
tree | f5e760728b09a3fd32328806fab903ab2ab02745 | |
parent | 84c15c98ab2e800571062bdb1ac98d215edb0cc3 (diff) | |
download | screen-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.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |