summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2000-10-07 13:24:00 +0000
committerKevin Steves <stevesk@pobox.com>2000-10-07 13:24:00 +0000
commit48b7cc0dd7d166ea0ea76c6c2a1da26923e7ac32 (patch)
tree9ceb7ce8ff168aabad12860f0f3e73152c501e66 /configure.in
parentcccca2789073abe1aa781978d25d1d2e7736aad4 (diff)
- (stevesk) Fix detection of pw_class struct member in configure;
patch from KAMAHARA Junzo <kamahara@cc.kshosen.ac.jp>
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 38afa3b4..c342d14f 100644
--- a/configure.in
+++ b/configure.in
@@ -829,10 +829,9 @@ AC_CACHE_CHECK([for pw_class field in struct passwd],
ac_cv_have_pw_class_in_struct_passwd, [
AC_TRY_COMPILE(
[
-#include <sys/types.h>
#include <pwd.h>
],
- [ struct passwd p s; p.pw_class = NULL; ],
+ [ struct passwd p; p.pw_class = 0; ],
[ ac_cv_have_pw_class_in_struct_passwd="yes" ],
[ ac_cv_have_pw_class_in_struct_passwd="no" ]
)