diff options
author | 2015-07-25 23:14:25 +0800 | |
---|---|---|
committer | 2015-07-25 23:53:32 +0800 | |
commit | 78162a2a1343a7caff3d43f457daa87475e6b926 (patch) | |
tree | 5202c4b2c21b80822bf07282df2e25ad336812f9 /proc.cpp | |
parent | 30ea4fc416c533e9ca3c1fb464e08c004946de00 (diff) |
Initial pass with Include What You Use
Diffstat (limited to 'proc.cpp')
-rw-r--r-- | proc.cpp | 22 |
1 files changed, 5 insertions, 17 deletions
@@ -18,27 +18,16 @@ Some of the code in this file is based on code from the Glibc manual. #include <string.h> #include <errno.h> #include <termios.h> -#include <sys/types.h> -#include <sys/stat.h> +#include <pthread.h> +#include <wctype.h> #include <algorithm> - -#ifdef HAVE_SYS_IOCTL_H -#include <sys/ioctl.h> -#endif +#include <memory> // IWYU pragma: keep - suggests <tr1/memory> instead +#include <vector> #include <unistd.h> #include <signal.h> -#include <dirent.h> #include <sys/time.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 @@ -53,7 +42,7 @@ Some of the code in this file is based on code from the Glibc manual. #include <sys/select.h> #endif -#include "fallback.h" +#include "fallback.h" // IWYU pragma: keep #include "util.h" #include "wutil.h" @@ -61,7 +50,6 @@ Some of the code in this file is based on code from the Glibc manual. #include "common.h" #include "reader.h" #include "sanity.h" -#include "env.h" #include "parser.h" #include "signal.h" #include "event.h" |