2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-23 02:17:35 +00:00

On HP-UX 11.0, sys/ioctl.h is not sufficient to make struct winsize

visisble, we need termios.h too.
This commit is contained in:
Todd C. Miller 2017-05-15 09:37:58 -06:00
parent ea9120ee24
commit c91b6777d3
2 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <termios.h>
#include <termios.h> /* for struct winsize on HP-UX */
#include <limits.h>
#include "sudo_compat.h"

View File

@ -32,6 +32,7 @@
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <termios.h> /* for struct winsize on HP-UX */
#include "sudo.h"
#include "sudo_event.h"