summaryrefslogtreecommitdiffhomepage
path: root/loginrec.h
diff options
context:
space:
mode:
authorWhoopie <none@none>2014-08-13 22:07:43 +0800
committerWhoopie <none@none>2014-08-13 22:07:43 +0800
commit1387654cc8ac3f14b1c144f838fee5d0f51921c0 (patch)
treea8ee03c0982eb080eb2cee951d92171a1e61f82e /loginrec.h
parent10eb218fb022f435d75fa6e8e6fc6234e66f31b9 (diff)
Fix wtmp, testing for wtmp.h and wtmpx.h doesn't make sense
Diffstat (limited to 'loginrec.h')
-rw-r--r--loginrec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/loginrec.h b/loginrec.h
index bd40006..d2da8d2 100644
--- a/loginrec.h
+++ b/loginrec.h
@@ -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