add (or restore) config.h to all files

The autoconf-generated config.h contains a number of directives which
may alter the behaviour of system headers on certain platforms. Always
include it in every C++ file as the first include.

Closes #2993.
This commit is contained in:
David Adam
2016-05-18 22:30:21 +00:00
parent 00e32a0909
commit 9225b16d12
39 changed files with 75 additions and 0 deletions

View File

@@ -2,6 +2,8 @@
// autoloading functions in the $fish_function_path. Actual function evaluation is taken care of by
// the parser and to some degree the builtin handling library.
//
#include "config.h" // IWYU pragma: keep
// IWYU pragma: no_include <type_traits>
#include <dirent.h>
#include <pthread.h>