From 08fad0f8f6601e93b325990b4d3bba8533f34c2f Mon Sep 17 00:00:00 2001 From: Nicolas Hillegeer Date: Sun, 6 Jul 2014 16:54:59 +0200 Subject: hashtab.h: don't include vim.h Including vim.h in another header filer is asking for trouble. Test code that includes separate header files (e.g.: cimport './src/nvim/buffer.h'), has a really bad time with this. This is just one piece of the puzzle though. --- src/nvim/hashtab.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/hashtab.h b/src/nvim/hashtab.h index 172f5ca13e..7233d8c47c 100644 --- a/src/nvim/hashtab.h +++ b/src/nvim/hashtab.h @@ -1,7 +1,9 @@ #ifndef NVIM_HASHTAB_H #define NVIM_HASHTAB_H -#include "nvim/vim.h" +#include + +#include "nvim/types.h" /// Type for hash number (hash calculation result). typedef size_t hash_T; -- cgit