diff loginrec.h @ 969:939944f0fca9

Fix wtmp, testing for wtmp.h and wtmpx.h doesn't make sense
author Whoopie
date Wed, 13 Aug 2014 22:07:43 +0800
parents 39d872718d4b
children deed0571cacc
line wrap: on
line diff
--- a/loginrec.h	Wed Aug 13 21:48:47 2014 +0800
+++ b/loginrec.h	Wed Aug 13 22:07:43 2014 +0800
@@ -79,10 +79,10 @@
 #  if defined(HAVE_UTMP_H) && defined(UTMP_FILE) && !defined(DISABLE_UTMP)
 #    define USE_UTMP
 #  endif
-#  if defined(HAVE_WTMPX_H) && defined(WTMPX_FILE) && !defined(DISABLE_WTMPX)
+#  if defined(WTMPX_FILE) && !defined(DISABLE_WTMPX)
 #    define USE_WTMPX
 #  endif
-#  if defined(HAVE_WTMP_H) && defined(WTMP_FILE) && !defined(DISABLE_WTMP)
+#  if defined(WTMP_FILE) && !defined(DISABLE_WTMP)
 #    define USE_WTMP
 #  endif