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:
Amadeusz Sławiński
2015-09-05 15:37:53 +00:00
parent 84c15c98ab
commit 2e2410a668

View File

@@ -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