Skip to content

Commit

Permalink
FreeBSD: catch up to __FreeBSD_version 1400093
Browse files Browse the repository at this point in the history
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Mateusz Guzik <[email protected]>
Closes #15036
  • Loading branch information
mjguzik authored and behlendorf committed Jan 16, 2024
1 parent 8e5298f commit 94a830a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/os/freebsd/spl/sys/vnode.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 94a830a

Please sign in to comment.