[openssh-commits] [openssh] 01/09: Don't create sys/mount.h shim except on DragonFly.
git+noreply at mindrot.org
git+noreply at mindrot.org
Thu Feb 12 05:00:00 AEDT 2026
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 8a5d591c9f42933c49ece95e49c116d684d6cca0
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Wed Feb 11 11:38:58 2026 -0500
Don't create sys/mount.h shim except on DragonFly.
Fixes build on Mac OS X.
---
configure.ac | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
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
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list