From 9225b16d1285e620c7c13e3416bdd4099f8ff4b7 Mon Sep 17 00:00:00 2001 From: David Adam Date: Wed, 18 May 2016 22:30:21 +0000 Subject: 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. --- src/function.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/function.cpp') diff --git a/src/function.cpp b/src/function.cpp index 54559bee..fc397472 100644 --- a/src/function.cpp +++ b/src/function.cpp @@ -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 #include #include -- cgit v1.2.3