diff -pNaru5 a/pserial/perle-serial.c b/pserial/perle-serial.c --- a/pserial/perle-serial.c 2023-01-29 04:08:09.639903778 -0500 +++ b/pserial/perle-serial.c 2023-01-29 04:12:12.648878696 -0500 @@ -176,10 +176,14 @@ #include #include #endif #endif #include +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,0,0) +#include +#define SERIAL_XMIT_SIZE UART_XMIT_SIZE +#endif #include #include #include #include #include