[configure.ac] add <sys/types.h> to msghdr tests.
Change -L to -h on testing for /bin being symbolic link
diff --git a/ChangeLog b/ChangeLog
index 93f07ab..17f54b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 20020412
  - (stevesk) [auth-sia.[ch]] add BSD license from Chris Adams
+ - (tim) [configure.ac] add <sys/types.h> to msghdr tests. Change -L
+   to -h on testing for /bin being symbolic link
 
 20020411
  - (stevesk) [auth-sia.c] cleanup
@@ -8225,4 +8227,4 @@
  - Wrote replacements for strlcpy and mkdtemp
  - Released 1.0pre1
 
-$Id: ChangeLog,v 1.2047 2002/04/12 15:36:07 stevesk Exp $
+$Id: ChangeLog,v 1.2048 2002/04/12 17:26:21 tim Exp $
diff --git a/configure.ac b/configure.ac
index ce4e295..c0cce4b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.42 2002/04/10 23:17:05 stevesk Exp $
+# $Id: configure.ac,v 1.43 2002/04/12 17:26:23 tim Exp $
 
 AC_INIT
 AC_CONFIG_SRCDIR([ssh.c])
@@ -1015,7 +1015,7 @@
 
 OPATH=$PATH
 PATH=/bin:/usr/bin
-/bin/test -L /bin 2> /dev/null && PATH=/usr/bin
+test -h /bin 2> /dev/null && PATH=/usr/bin
 test -d /sbin && PATH=$PATH:/sbin
 test -d /usr/sbin && PATH=$PATH:/usr/sbin
 PATH=$PATH:/etc:$OPATH
@@ -1580,6 +1580,7 @@
 		ac_cv_have_accrights_in_msghdr, [
 	AC_TRY_COMPILE(
 		[
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/uio.h>
 		],
@@ -1596,6 +1597,7 @@
 		ac_cv_have_control_in_msghdr, [
 	AC_TRY_COMPILE(
 		[
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/uio.h>
 		],