From: Darren Tucker Date: Wed, 11 Feb 2026 16:38:58 +0000 (-0500) Subject: Don't create sys/mount.h shim except on DragonFly. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a5d591c9f42933c49ece95e49c116d684d6cca0;p=thirdparty%2Fopenssh-portable.git Don't create sys/mount.h shim except on DragonFly. Fixes build on Mac OS X. --- diff --git a/configure.ac b/configure.ac index b6c551dae..852babbc7 100644 --- a/configure.ac +++ b/configure.ac @@ -578,10 +578,11 @@ case "$host" in *-*-dragonfly*) COMPATINCLUDES="$COMPATINCLUDESDIR" mkdir -p "$COMPATINCLUDES/sys" - echo '#include "/usr/include/sys/queue.h"' - echo '#include "/usr/include/sys/mount.h"' + (echo '#include "/usr/include/sys/queue.h"' + echo '#include "/usr/include/sys/mount.h"') \ + >"$COMPATINCLUDES/sys/mount.h" ;; -esac > "$COMPATINCLUDES/sys/mount.h" +esac AC_CHECK_DECLS([le32toh, le64toh, htole64], [], [], [ #ifdef HAVE_SYS_TYPES_H