aboutsummaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/vim.h b/src/vim.h
index 75c2b14d38..8e70717652 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -8,6 +8,9 @@
#ifndef NEOVIM_VIM_H
# define NEOVIM_VIM_H
+
+#include "types.h"
+
/* Included when ported to cmake */
/* This is needed to replace TRUE/FALSE macros by true/false from c99 */
#include <stdbool.h>
@@ -96,13 +99,6 @@ Error: configure did not run properly.Check auto/config.log.
#define NUMBUFLEN 30 /* length of a buffer to store a number in ASCII */
-/*
- * Shorthand for unsigned variables. Many systems, but not all, have u_char
- * already defined, so we use char_u to avoid trouble.
- */
-typedef unsigned char char_u;
-typedef unsigned short short_u;
-typedef unsigned int int_u;
/* Make sure long_u is big enough to hold a pointer.
* On Win64, longs are 32 bits and pointers are 64 bits.
* For printf() and scanf(), we need to take care of long_u specifically. */