diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2015-07-29 09:30:19 +0800 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2015-07-29 09:30:19 +0800 |
commit | a6a16808e34966fa8650fdda0538ba85a8019c5e (patch) | |
tree | 3d731ab1a78551aea75e6dd321918a4f61c857b0 /src/reader.cpp | |
parent | aee71b594b11d4bc6b5be9f4c6febb35c41a3096 (diff) | |
parent | 958880d97251b09af5c639a11d914067929e91af (diff) |
Merge branch 'iwyu'
Diffstat (limited to 'src/reader.cpp')
-rw-r--r-- | src/reader.cpp | 30 |
1 files changed, 3 insertions, 27 deletions
diff --git a/src/reader.cpp b/src/reader.cpp index 33376284..7aae5f6f 100644 --- a/src/reader.cpp +++ b/src/reader.cpp @@ -24,39 +24,17 @@ commence. #include <stdlib.h> #include <stdio.h> +#include <stdint.h> #include <string.h> #include <errno.h> #include <termios.h> -#include <sys/types.h> -#include <sys/stat.h> - -#ifdef HAVE_SYS_IOCTL_H -#include <sys/ioctl.h> -#endif - #include <time.h> #include <sys/time.h> -#include <sys/wait.h> -#include <sys/poll.h> #include <unistd.h> #include <wctype.h> #include <stack> #include <pthread.h> -#if HAVE_NCURSES_H -#include <ncurses.h> -#elif HAVE_NCURSES_CURSES_H -#include <ncurses/curses.h> -#else -#include <curses.h> -#endif - -#if HAVE_TERM_H -#include <term.h> -#elif HAVE_NCURSES_TERM_H -#include <ncurses/term.h> -#endif - #ifdef HAVE_SIGINFO_H #include <siginfo.h> #endif @@ -67,9 +45,7 @@ commence. #include <signal.h> #include <fcntl.h> -#include <dirent.h> #include <wchar.h> - #include <assert.h> @@ -98,11 +74,11 @@ commence. #include "screen.h" #include "iothread.h" #include "intern.h" -#include "path.h" #include "parse_util.h" -#include "parser_keywords.h" #include "parse_tree.h" #include "pager.h" +#include "color.h" +#include "event.h" /** Maximum length of prefix string when printing completion |