aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.cpp')
-rw-r--r--src/common.cpp30
1 files changed, 4 insertions, 26 deletions
diff --git a/src/common.cpp b/src/common.cpp
index 473f3502..ea1cc4e3 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -9,10 +9,6 @@ parts of fish.
#include <unistd.h>
-#ifdef HAVE_STROPTS_H
-#include <stropts.h>
-#endif
-
#ifdef HAVE_SIGINFO_H
#include <siginfo.h>
#endif
@@ -22,53 +18,35 @@ parts of fish.
#include <wchar.h>
#include <string.h>
#include <stdio.h>
-#include <dirent.h>
#include <sys/types.h>
+#include <assert.h>
+#include <math.h>
+#include <signal.h>
+
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
#include <sys/stat.h>
-#include <unistd.h>
#include <wctype.h>
#include <errno.h>
#include <limits.h>
#include <stdarg.h>
#include <locale.h>
-#include <time.h>
#include <sys/time.h>
-#include <fcntl.h>
#include <algorithm>
#ifdef HAVE_EXECINFO_H
#include <execinfo.h>
#endif
-#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
-
#include "fallback.h"
-#include "util.h"
#include "wutil.h"
#include "common.h"
#include "expand.h"
-#include "proc.h"
#include "wildcard.h"
-#include "parser.h"
-#include "complete.h"
#include "util.cpp"
#include "fallback.cpp"