mirror of
https://git.savannah.gnu.org/git/screen.git
synced 2026-02-14 19:32:19 +02:00
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 74fdc8988b.
This commit is contained in:
6
src/os.h
6
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
|
||||
|
||||
Reference in New Issue
Block a user