aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/fish_indent.cpp
diff options
context:
space:
mode:
authorGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2016-05-18 22:30:21 +0000
committerGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2016-05-18 22:30:21 +0000
commit9225b16d1285e620c7c13e3416bdd4099f8ff4b7 (patch)
treea39612633828387e1c69c134a194c6d1b7a382ab /src/fish_indent.cpp
parent00e32a0909e5d0d303936eec8cb697cb67069861 (diff)
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.
Diffstat (limited to 'src/fish_indent.cpp')
-rw-r--r--src/fish_indent.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fish_indent.cpp b/src/fish_indent.cpp
index 53443799..7e68e310 100644
--- a/src/fish_indent.cpp
+++ b/src/fish_indent.cpp
@@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "config.h" // IWYU pragma: keep
+
#include <assert.h>
#include <getopt.h>
#include <locale.h>