From 95dedaa0614915ac91a7175359f17fa8bb54614c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pali=20Roh=C3=A1r?= Date: Sun, 8 Aug 2021 10:41:24 +0200 Subject: [PATCH] ioctl_tty.2: Update DTR example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- 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 46294e63f..de6d1c839 100644 --- a/man2/ioctl_tty.2 +++ b/man2/ioctl_tty.2 @@ -701,7 +701,8 @@ Insufficient permission. Check the condition of DTR on the serial port. .PP .EX -#include +#include +#include #include #include