From: Pali Rohár <pali@xxxxxxxxxx> Do not include unused (and incompatible) header file termios.h and include required header files for puts() and close() functions. Signed-off-by: Pali Rohár <pali@xxxxxxxxxx> Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man2/ioctl_tty.2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man2/ioctl_tty.2 b/man2/ioctl_tty.2 index 967b5c4c7..519e4606f 100644 --- a/man2/ioctl_tty.2 +++ b/man2/ioctl_tty.2 @@ -730,7 +730,8 @@ Insufficient permission. Check the condition of DTR on the serial port. .PP .EX -#include <termios.h> +#include <stdio.h> +#include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> -- 2.32.0