- (stevesk) [monitor.c monitor_wrap.c] #ifdef HAVE_PW_CLASS_IN_PASSWD
diff --git a/ChangeLog b/ChangeLog
index e3f3fca..04d101b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
20020322
- (stevesk) HAVE_ACCRIGHTS_IN_MSGHDR configure support
+ - (stevesk) [monitor.c monitor_wrap.c] #ifdef HAVE_PW_CLASS_IN_PASSWD
20020321
- (bal) OpenBSD CVS Sync
@@ -7994,4 +7995,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
-$Id: ChangeLog,v 1.1967 2002/03/22 17:23:25 stevesk Exp $
+$Id: ChangeLog,v 1.1968 2002/03/22 18:07:17 stevesk Exp $
diff --git a/monitor.c b/monitor.c
index 921ad98..6136c10 100644
--- a/monitor.c
+++ b/monitor.c
@@ -494,7 +494,9 @@
buffer_put_cstring(m, pwent->pw_name);
buffer_put_cstring(m, "*");
buffer_put_cstring(m, pwent->pw_gecos);
+#ifdef HAVE_PW_CLASS_IN_PASSWD
buffer_put_cstring(m, pwent->pw_class);
+#endif
buffer_put_cstring(m, pwent->pw_dir);
buffer_put_cstring(m, pwent->pw_shell);
diff --git a/monitor_wrap.c b/monitor_wrap.c
index e477cff..8b0ded1 100644
--- a/monitor_wrap.c
+++ b/monitor_wrap.c
@@ -197,7 +197,9 @@
pw->pw_name = buffer_get_string(&m, NULL);
pw->pw_passwd = buffer_get_string(&m, NULL);
pw->pw_gecos = buffer_get_string(&m, NULL);
+#ifdef HAVE_PW_CLASS_IN_PASSWD
pw->pw_class = buffer_get_string(&m, NULL);
+#endif
pw->pw_dir = buffer_get_string(&m, NULL);
pw->pw_shell = buffer_get_string(&m, NULL);
buffer_free(&m);