--- zzzz-none-000/linux-4.1.52/include/uapi/linux/errqueue.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/uapi/linux/errqueue.h 2022-03-02 11:37:13.000000000 +0000 @@ -3,6 +3,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;