]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Remove DragonFlyBSD workaround for sys/mount.h.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 13 Feb 2026 20:34:44 +0000 (15:34 -0500)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 13 Feb 2026 20:39:13 +0000 (15:39 -0500)
... since we're not not including it at all any more.

configure.ac

index ddb621670a21d5e6af52213d79015be5dea2943e..e537c982aa833e2bcb449f5508003045af505b19 100644 (file)
@@ -537,7 +537,6 @@ AC_CHECK_HEADERS([ \
     poll.h \
     stdint.h \
     sys/mman.h \
-    sys/mount.h \
     sys/stat.h \
     sys/statvfs.h \
     sys/time.h \
@@ -572,18 +571,6 @@ for include in sys/queue.h sys/tree.h; do
        esac >"$header"
 done
 
-# DragonFly uses STAILQ_* in its sys/mount.h, so we explicitly
-# need to include the system one first, not our shim.
-case "$host" in
-*-*-dragonfly*)
-       COMPATINCLUDES="$COMPATINCLUDESDIR"
-       mkdir -p "$COMPATINCLUDES/sys"
-       (echo '#include "/usr/include/sys/queue.h"'
-        echo '#include "/usr/include/sys/mount.h"') \
-           >"$COMPATINCLUDES/sys/mount.h"
-       ;;
-esac
-
 AC_CHECK_DECLS([le32toh, le64toh, htole64], [], [], [
 #ifdef HAVE_SYS_TYPES_H
 # include <sys/types.h>