diff --git a/include/nuttx/serial/serial.h b/include/nuttx/serial/serial.h index 398a3f87ee3..61acebd5df9 100644 --- a/include/nuttx/serial/serial.h +++ b/include/nuttx/serial/serial.h @@ -278,7 +278,8 @@ struct uart_dev_s #endif bool isconsole; /* true: This is the serial console */ -#if defined(CONFIG_TTY_SIGINT) || defined(CONFIG_TTY_SIGTSTP) +#if defined(CONFIG_TTY_SIGINT) || defined(CONFIG_TTY_SIGTSTP) || \ + defined(CONFIG_TTY_FORCE_PANIC) || defined(CONFIG_TTY_LAUNCH) pid_t pid; /* Thread PID to receive signals (-1 if none) */ #endif