aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_pager.cpp
diff options
context:
space:
mode:
authorGravatar David Adam (zanchey) <zanchey@ucc.gu.uwa.edu.au>2013-02-24 23:00:54 +0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-03-05 12:25:00 -0800
commitdaf5ef1bbd4b8ceb005294c512004010010897b8 (patch)
tree8c87ace4aa251b100a2aa4d1aea103481bf269d4 /fish_pager.cpp
parent85a5319c4b789dc1682d0fd10891e488c923791e (diff)
Kill termio.h and sys/termios.h
On FreeBSD, compilation complains that "this file includes <sys/termios.h> which is deprecated, use <termios.h> instead". On Linux and FreeBSD, <sys/termios.h> literally just pulls in <termios.h>. On OS X and Solaris, <termios.h> pulls in <sys/termios.h>. <termio.h> doesn't exist on FreeBSD or Mac OS X, and on Linux is marked as deprecated and just includes <termios.h>. It does exist on Solaris, but no `struct termio` is ever actually used in the codebase.
Diffstat (limited to 'fish_pager.cpp')
-rw-r--r--fish_pager.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/fish_pager.cpp b/fish_pager.cpp
index fb819fab..fac70497 100644
--- a/fish_pager.cpp
+++ b/fish_pager.cpp
@@ -11,9 +11,6 @@
#include <sys/types.h>
#include <sys/stat.h>
-#ifdef HAVE_SYS_TERMIOS_H
-#include <sys/termios.h>
-#endif
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
@@ -32,10 +29,6 @@
#include <curses.h>
#endif
-#if HAVE_TERMIO_H
-#include <termio.h>
-#endif
-
#if HAVE_TERM_H
#include <term.h>
#elif HAVE_NCURSES_TERM_H