diff options
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | include/ttyutils.h | 3 | ||||
-rw-r--r-- | term-utils/ttymsg.c | 1 | ||||
-rw-r--r-- | text-utils/display.c | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 95ff8b3d2..12d0babf7 100644 --- a/configure.ac +++ b/configure.ac @@ -204,6 +204,7 @@ AC_CHECK_HEADERS([ \ sys/swap.h \ sys/syscall.h \ sys/time.h \ + sys/ttydefaults.h \ sys/types.h \ sys/un.h \ unistd.h \ diff --git a/include/ttyutils.h b/include/ttyutils.h index 13495ba96..4f2fd8848 100644 --- a/include/ttyutils.h +++ b/include/ttyutils.h @@ -13,6 +13,9 @@ #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> #endif +#ifdef HAVE_SYS_TTYDEFAULTS_H +#include <sys/ttydefaults.h> +#endif /* Some shorthands for control characters. */ #define CTL(x) ((x) ^ 0100) /* Assumes ASCII dialect */ diff --git a/term-utils/ttymsg.c b/term-utils/ttymsg.c index d6108266d..8bf993c2f 100644 --- a/term-utils/ttymsg.c +++ b/term-utils/ttymsg.c @@ -41,6 +41,7 @@ */ #include <sys/types.h> +#include <sys/param.h> #include <sys/uio.h> #include <signal.h> #include <fcntl.h> diff --git a/text-utils/display.c b/text-utils/display.c index 1f9a11b4c..11303667e 100644 --- a/text-utils/display.c +++ b/text-utils/display.c @@ -33,6 +33,7 @@ #include <sys/param.h> #include <sys/stat.h> +#include <sys/types.h> #include <unistd.h> #include <errno.h> #include <ctype.h> |