Thanks, the test in configure.ac is completely broken for <osockaddr.h>:
dnl We may need our own definition for struct osockaddr (equivalent to the dnl old 4.3BSD struct sockaddr, and used in grotty bsd talk protocol) AC_CHECK_TYPE(struct osockaddr, , [AC_DEFINE([HAVE_OSOCKADDR_H], 1, [Define to one if you have <osockaddr.h>.])], [IU_FLUSHLEFT([#include <sys/types.h> #include <sys/socket.h> ])]) The AC_CHECK_TYPE function takes the following arguments: AC_CHECK_TYPE (TYPE, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [INCLUDES = `AC_INCLUDES_DEFAULT']) Obviously, the above code in configure.ac defines HAVE_OSOCKADDR_H when "struct osockaddr" is _not_ found. In either case, the patch I sent previously should work, and I'll commit a variant of it later on. Thanks!