Solaris 2.6 needs '#define HAVE_BOGUS_SYS_QUEUE_H 1' to build OpenSSH 3.1p1

Mark D. Baushke mdb at juniper.net
Fri Mar 8 20:39:24 EST 2002


I needed to manually add a '#define HAVE_BOGUS_SYS_QUEUE_H 1' to the
config.h file to get OpenSSH 3.1p1 to properly build under Solaris
2.6. Without it, the system <sys/queue.h> is included rather than
using the openbsd-compat/fake-queue.h and the various TAILQ_* macros
are not defined.

I suspect that the configure.ac file needs to be updated to add the
lines:

	if test "$sol2ver" -eq 6; then
	    AC_DEFINE(HAVE_BOGUS_SYS_QUEUE_H)
	fi

under the *-*-solaris* entry.

	-- Mark



More information about the openssh-unix-dev mailing list