diff options
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r-- | src/nvim/buffer_defs.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 6d097010ac..094d6dfd05 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -11,6 +11,8 @@ #include "nvim/pos.h" // for the number window-local and buffer-local options #include "nvim/option_defs.h" +// for optional iconv support +#include "nvim/iconv.h" // for jump list and tag stack sizes in a buffer and mark types #include "nvim/mark_defs.h" // for u_header_T @@ -76,7 +78,6 @@ typedef struct wininfo_S wininfo_T; typedef struct frame_S frame_T; typedef int scid_T; /* script ID */ typedef struct file_buffer buf_T; /* forward declaration */ -typedef struct memfile memfile_T; // for struct memline (it needs memfile_T) #include "nvim/memline_defs.h" @@ -281,15 +282,6 @@ typedef struct argentry { #define ARGCOUNT (ALIST(curwin)->al_ga.ga_len) #define WARGCOUNT(wp) (ALIST(wp)->al_ga.ga_len) -#ifdef USE_ICONV -# ifdef HAVE_ICONV_H -# include <iconv.h> -# else -# include <errno.h> -typedef void *iconv_t; -# endif -#endif - /* * Used for the typeahead buffer: typebuf. */ |