From: Ondřej Surý Date: Thu, 2 May 2019 08:52:08 +0000 (+0200) Subject: Adjust .dir-locals.el to make clang always include config.h X-Git-Tag: v9.15.0~19^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7d05ae8b1dad1c293a722ef24b29b91146dafbb8;p=thirdparty%2Fbind9.git Adjust .dir-locals.el to make clang always include config.h --- diff --git a/.dir-locals.el b/.dir-locals.el index 4141681953e..c68180fee78 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -60,5 +60,12 @@ (eval setq flycheck-clang-include-path include-directories) (eval setq flycheck-cppcheck-include-path include-directories) + (eval setq flycheck-clang-args + (list + "-include" + (expand-file-name + (concat directory-of-current-dir-locals-file "config.h")) + ) + ) ) ))