summaryrefslogtreecommitdiff
path: root/sessreg.c
diff options
context:
space:
mode:
Diffstat (limited to 'sessreg.c')
-rw-r--r--sessreg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sessreg.c b/sessreg.c
index 4d1fc76..57c46ac 100644
--- a/sessreg.c
+++ b/sessreg.c
@@ -103,10 +103,10 @@
#ifdef HAVE_CONFIG_H
# ifndef HAVE_LASTLOG_H
# define NO_LASTLOG
-# else /* Imake */
-#if defined(SYSV) || defined(SVR4) || defined(Lynx) || defined(__QNX__) || defined(__DARWIN__) || defined(_SEQUENT_)
-#define NO_LASTLOG
-#endif
+# endif
+#else /* Imake */
+# if defined(SYSV) || (defined(SVR4) && !defined(sun)) || defined(Lynx) || defined(__QNX__) || defined(__DARWIN__) || defined(_SEQUENT_)
+# define NO_LASTLOG
# endif
#endif