--- zzzz-none-000/linux-4.19.183/include/uapi/linux/errqueue.h 2021-03-24 10:07:39.000000000 +0000 +++ bcm63-7530ax-756/linux-4.19.183/include/uapi/linux/errqueue.h 2023-06-28 08:54:20.000000000 +0000 @@ -4,6 +4,18 @@ #include +#ifdef __KERNEL__ + #include +#else + #ifndef _STRUCT_TIMESPEC + #define _STRUCT_TIMESPEC + struct timespec { + time_t tv_sec; /* seconds */ + long tv_nsec; /* nanoseconds */ + }; + #endif +#endif + struct sock_extended_err { __u32 ee_errno; __u8 ee_origin;