mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-17 11:01:14 -03:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user