- (dtucker) [configure.ac defines.h] Only define SHUT_RD (and friends) and
O_NONBLOCK if they're really needed. Fixes build errors on HP-UX, old
Linuxes and probably more.
+ - (dtucker) [configure.ac] OpenBSD needs <sys/types.h> before <sys/socket.h>
+ for SHUT_RD.
20060711
- (dtucker) [configure.ac ssh-keygen.c openbsd-compat/bsd-openpty.c
AC_CHECK_DECLS(h_errno, , ,[#include <netdb.h>])
-AC_CHECK_DECLS(SHUT_RD, , ,[#include <sys/socket.h>])
+AC_CHECK_DECLS(SHUT_RD, , ,
+ [
+#include <sys/types.h>
+#include <sys/socket.h>
+ ])
AC_CHECK_DECLS(O_NONBLOCK, , ,
[