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:
parent
ea9120ee24
commit
c91b6777d3
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user