summaryrefslogtreecommitdiffhomepage
path: root/configure.in
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-12-06 17:49:59 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-12-06 17:49:59 +0000
commit9a07b93cb3f5ab210485e88f6a476dbceb08bfaf (patch)
tree3c70876add6f6d99a55f0e9034aad08b2ce595ad /configure.in
parenta4bf09e7b929dbd61686783641b98f0b30c907f0 (diff)
* workaround for systems such as glibc 2.1 that have
sockaddr_storage.__ss_family rather than sockaddr_storage.ss_family --HG-- extra : convert_revision : 702c67055040d451a946e8c6aadbb6f7af1d3999
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index cdafb99..e860831 100644
--- a/configure.in
+++ b/configure.in
@@ -339,8 +339,9 @@ AC_CHECK_MEMBERS([struct utmp.ut_host, struct utmp.ut_pid, struct utmp.ut_type,
#endif
])
-AC_CHECK_MEMBERS([struct utmpx.ut_host, struct utmpx.ut_syslen, struct utmpx.ut_type, struct utmpx.ut_id, struct utmpx.ut_addr, struct utmpx.ut_addr_v6, struct utmpx.ut_time, struct utmpx.ut_tv],,,[
+AC_CHECK_MEMBERS([struct utmpx.ut_host, struct utmpx.ut_syslen, struct utmpx.ut_type, struct utmpx.ut_id, struct utmpx.ut_addr, struct utmpx.ut_addr_v6, struct utmpx.ut_time, struct utmpx.ut_tv, struct sockaddr_storage.ss_family, struct sockadd_storage.__family],,,[
#include <sys/types.h>
+#include <sys/socket.h>
#if HAVE_UTMPX_H
#include <utmpx.h>
#endif