From 2e2410a668be96bcd64afbba2fd601c237f5a68e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= Date: Sat, 5 Sep 2015 15:37:53 +0000 Subject: [PATCH] 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. --- src/os.h | 6 ++---- 1 file 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 -# ifdef UTMPX_FILE /* GNU extension */ -# define UTMPFILE UTMPX_FILE -# endif +# define UTMPFILE UTMPX_FILE # define utmp utmpx # define getutent getutxent # define getutid getutxid