One correction:

Edgar Pettijohn wrote:
> Index: cchar.c
> ===================================================================
> RCS file: /cvs/src/bin/stty/cchar.c,v
> retrieving revision 1.11
> diff -u -p -u -r1.11 cchar.c
> --- cchar.c    27 Oct 2009 23:59:22 -0000    1.11
> +++ cchar.c    16 Mar 2016 23:53:58 -0000
> @@ -30,6 +30,7 @@
>   * SUCH DAMAGE.
>   */
> 
> +#include <sys/ioctl.h>
>  #include <sys/types.h>
> 
>  #include <err.h>

deraadt pointed out that sys/types.h has to come first here.

> Index: key.c
> ===================================================================
> RCS file: /cvs/src/bin/stty/key.c,v
> retrieving revision 1.16
> diff -u -p -u -r1.16 key.c
> --- key.c    20 Nov 2015 15:57:39 -0000    1.16
> +++ key.c    16 Mar 2016 23:55:51 -0000
> @@ -30,14 +30,16 @@
>   * SUCH DAMAGE.
>   */
> 
> +#include <sys/ioctl.h>
>  #include <sys/types.h>

And here.

> Index: stty.c
> ===================================================================
> RCS file: /cvs/src/bin/stty/stty.c,v
> retrieving revision 1.18
> diff -u -p -u -r1.18 stty.c
> --- stty.c    20 Nov 2015 15:58:28 -0000    1.18
> +++ stty.c    16 Mar 2016 23:58:14 -0000
> @@ -30,16 +30,18 @@
>   * SUCH DAMAGE.
>   */
> 
> +#include <sys/ioctl.h>
>  #include <sys/types.h>

And here.

Reply via email to