summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2003-02-26 20:34:02 +0000
committerRoland McGrath <roland@redhat.com>2003-02-26 20:34:02 +0000
commite07cd606729a9ae113a7bcbe30008ce06b61ba66 (patch)
tree42649b670a1f42fbe9fd44cc07b6c9a8a65d8ca4 /configure.ac
parent74f905df7bc3c23b6621a2d6bfed51c18143bbd1 (diff)
downloadstrace-e07cd606729a9ae113a7bcbe30008ce06b61ba66.tar.gz
strace-e07cd606729a9ae113a7bcbe30008ce06b61ba66.tar.bz2
strace-e07cd606729a9ae113a7bcbe30008ce06b61ba66.tar.xz
2003-02-26 Roland McGrath <roland@redhat.com>
* configure.ac: Fix typo in netinet/in.h check. Also include <sys/types.h> and <sys/socket.h> before <netinet/in.h>. Reported by Alex Semenyaka <alexs@snark.rinet.ru>.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 74eff4e..b48d168 100644
--- a/configure.ac
+++ b/configure.ac
@@ -153,7 +153,7 @@ AC_HEADER_STDC
AC_HEADER_DIRENT
AC_HEADER_STAT
AC_CHECK_MEMBERS([struct stat.st_blksize,
- struct stat.st_blocks,
+ struct stat.st_blocks,
struct stat.st_aclcnt,
struct stat.st_flags,
struct stat.st_fstype,
@@ -168,7 +168,10 @@ AC_TYPE_MODE_T
AC_TYPE_GETGROUPS
AC_HEADER_MAJOR
AC_CHECK_TYPES([sig_atomic_t, siginfo_t],,, [#include <signal.h>])
-AC_CHECK_MEMBERS([struct sockaddr_in6.sin6_scope_id],,, [#include <netinet/in.h])
+AC_CHECK_MEMBERS([struct sockaddr_in6.sin6_scope_id],,,
+[#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>])
AC_CHECK_TYPES([long long])
AC_LITTLE_ENDIAN_LONG_LONG
AC_OFF_T_IS_LONG_LONG