diff options
author | Jessica Clarke <[email protected]> | 2024-09-10 01:37:12 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-09-09 17:37:12 -0700 |
commit | 88433e640ddbf390bcbed5ff79478f7ac985f161 (patch) | |
tree | cbf81360a3d9261e74e60f2546466ef87d479883 /lib/libspl/include/sys | |
parent | 8be2f4c3d2c43b031fd568240beebae1b0bc7423 (diff) |
sys/types32.h: Remove struct timeval32 from libspl's header (#16491)
macOS Sequoia's sys/sockio.h, as included by various bootstrap tools
whilst building FreeBSD, has started to include net/if.h, which then
includes sys/_types/_timeval32.h and provide a conflicting definition
for struct timeval32. Since this type is entirely unused within OpenZFS,
simply delete the type rather than adding in some kind of OS detection.
This fixes building FreeBSD on macOS Sequoia (Beta).
Signed-off-by: Jessica Clarke <[email protected]>
Reviewed-by: Rob Norris <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Reviewed-by: Tony Hutter <[email protected]>
Diffstat (limited to 'lib/libspl/include/sys')
-rw-r--r-- | lib/libspl/include/sys/types32.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libspl/include/sys/types32.h b/lib/libspl/include/sys/types32.h index eadc67c71..d065ebed0 100644 --- a/lib/libspl/include/sys/types32.h +++ b/lib/libspl/include/sys/types32.h @@ -65,11 +65,6 @@ typedef int32_t ssize32_t; typedef int32_t time32_t; typedef int32_t clock32_t; -struct timeval32 { - time32_t tv_sec; /* seconds */ - int32_t tv_usec; /* and microseconds */ -}; - typedef struct timespec32 { time32_t tv_sec; /* seconds */ int32_t tv_nsec; /* and nanoseconds */ |