]> git.proxmox.com Git - mirror_zfs.git/commitdiff
FreeBSD: catch up to __FreeBSD_version 1400093
authorMateusz Guzik <mjguzik@gmail.com>
Thu, 13 Jul 2023 16:06:57 +0000 (18:06 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Jul 2023 16:06:57 +0000 (09:06 -0700)
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Closes #15036

include/os/freebsd/spl/sys/vnode.h

index ab1727dca0c9e8ab878ebdf268f6587af183bc7b..0779e58e49538b05b902ad70c64f53a78d571f3c 100644 (file)
@@ -36,7 +36,11 @@ struct xucred;
 typedef struct flock   flock64_t;
 typedef        struct vnode    vnode_t;
 typedef        struct vattr    vattr_t;
+#if __FreeBSD_version < 1400093
 typedef enum vtype vtype_t;
+#else
+#define        vtype_t __enum_uint8(vtype)
+#endif
 
 #include <sys/types.h>
 #include <sys/queue.h>