From: Pali Rohár Date: Sun, 8 Aug 2021 08:41:24 +0000 (+0200) Subject: ioctl_tty.2: Update DTR example X-Git-Tag: man-pages-5.13~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95dedaa0614915ac91a7175359f17fa8bb54614c;p=thirdparty%2Fman-pages.git ioctl_tty.2: Update DTR example 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 --- diff --git a/man2/ioctl_tty.2 b/man2/ioctl_tty.2 index 46294e63fe..de6d1c839f 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