From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id d03b3b79 for ; Mon, 4 Mar 2019 13:15:36 -0500 (EST) Date: Mon, 4 Mar 2019 13:15:36 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: For TIOCGWINSZ, #include rather than X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: Log Message: ----------- For TIOCGWINSZ, #include rather than like almost all other userland programs. This also improves portability: for example, it looks like does not work on FreeBSD, or at least bapt@ did the same change over there. Modified Files: -------------- mandoc: main.c Revision Data ------------- Index: main.c =================================================================== RCS file: /home/cvs/mandoc/mandoc/main.c,v retrieving revision 1.320 retrieving revision 1.321 diff -Lmain.c -Lmain.c -u -p -r1.320 -r1.321 --- main.c +++ main.c @@ -21,7 +21,6 @@ #include #include #include /* MACHINE */ -#include #include #include @@ -40,6 +39,7 @@ #include #include #include +#include #include #include -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv