aboutsummaryrefslogtreecommitdiffstats
path: root/include/os
diff options
context:
space:
mode:
authorMateusz Guzik <[email protected]>2023-07-13 18:06:57 +0200
committerBrian Behlendorf <[email protected]>2023-07-20 08:58:29 -0700
commitbf6cd307967b9fea5173d122c57db728431993a4 (patch)
tree197c5ebaf138a1ccf93fcb33848d669d26f7bed8 /include/os
parent1266cebf87a1f613b02cfb998a4c7153a6560cfe (diff)
FreeBSD: catch up to __FreeBSD_version 1400093
Reviewed-by: Alexander Motin <[email protected]> Signed-off-by: Mateusz Guzik <[email protected]> Closes #15036
Diffstat (limited to 'include/os')
-rw-r--r--include/os/freebsd/spl/sys/vnode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/os/freebsd/spl/sys/vnode.h b/include/os/freebsd/spl/sys/vnode.h
index ab1727dca..0779e58e4 100644
--- a/include/os/freebsd/spl/sys/vnode.h
+++ b/include/os/freebsd/spl/sys/vnode.h
@@ -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>