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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user