diff --git a/include/nuttx/serial/uart_16550.h b/include/nuttx/serial/uart_16550.h index ea84a245276..a40b5647813 100644 --- a/include/nuttx/serial/uart_16550.h +++ b/include/nuttx/serial/uart_16550.h @@ -351,6 +351,7 @@ uart_datawidth_t uart_getreg(uart_addrwidth_t base, unsigned int offset); void uart_putreg(uart_addrwidth_t base, unsigned int offset, uart_datawidth_t value); #endif +struct file; /* Forward reference */ int uart_ioctl(struct file *filep, int cmd, unsigned long arg); #endif /* CONFIG_16550_UART */