mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-03-11 04:46:18 +03:00
libspl: move loff_t declaration from zfs_context.h
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #17861
This commit is contained in:
parent
5305d0f8b9
commit
eceb5b32e9
@ -133,10 +133,6 @@ extern "C" {
|
||||
|
||||
#include <sys/zfs_context_os.h>
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
typedef off_t loff_t;
|
||||
#endif
|
||||
|
||||
#endif /* _KERNEL || _STANDALONE */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@ -50,4 +50,8 @@ typedef int projid_t;
|
||||
|
||||
#include <sys/param.h> /* for NBBY */
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
typedef off_t loff_t;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user