aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/unix_defs.h
diff options
context:
space:
mode:
authorEiichi NISHINA <github@channel-247.net>2017-02-12 02:10:53 +0900
committerJustin M. Keyes <justinkz@gmail.com>2017-03-27 13:51:05 +0200
commit62774e43564b166d6907c7abc2e3431a65bd5596 (patch)
tree504f43359d07d2a98b5a3da71dbe11e7c4e74aa5 /src/nvim/os/unix_defs.h
parent7bc37ffb22a84668bba5b2e3589c4c05ad43f7d0 (diff)
downloadrneovim-62774e43564b166d6907c7abc2e3431a65bd5596.tar.gz
rneovim-62774e43564b166d6907c7abc2e3431a65bd5596.tar.bz2
rneovim-62774e43564b166d6907c7abc2e3431a65bd5596.zip
ci: Check that `#include "*.h"` works as a single include
Lesser form of include-what-you-use: at least guarantees that header file did not forget to include something through some other included file. Activate run_single_includes_tests on CI. Fix some IWYU violations. References #5321
Diffstat (limited to 'src/nvim/os/unix_defs.h')
-rw-r--r--src/nvim/os/unix_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/unix_defs.h b/src/nvim/os/unix_defs.h
index c98aa88bfa..5c9daca476 100644
--- a/src/nvim/os/unix_defs.h
+++ b/src/nvim/os/unix_defs.h
@@ -8,7 +8,7 @@
// POSIX.1-2008 says that NAME_MAX should be in here
#include <limits.h>
-#define TEMP_DIR_NAMES {"$TMPDIR", "/tmp", ".", "~"}
+#define TEMP_DIR_NAMES { "$TMPDIR", "/tmp", ".", "~" }
#define TEMP_FILE_PATH_MAXLEN 256
#define HAVE_ACL (HAVE_POSIX_ACL || HAVE_SOLARIS_ACL)