aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-03-12 20:03:08 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-14 21:03:28 -0300
commit8b498d94d86518da3cdda2d2664843d3b7f403d2 (patch)
tree74e71e84d055a25f53d6b4a47be68b209b6df9bd /src
parent7740bdecea93bc892776a07239db8b3a39b1a90f (diff)
downloadrneovim-8b498d94d86518da3cdda2d2664843d3b7f403d2.tar.gz
rneovim-8b498d94d86518da3cdda2d2664843d3b7f403d2.tar.bz2
rneovim-8b498d94d86518da3cdda2d2664843d3b7f403d2.zip
Include <stdint.h> in types.h
Diffstat (limited to 'src')
-rw-r--r--src/types.h2
-rw-r--r--src/vim.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/types.h b/src/types.h
index a82b8c8e86..0d8c0b3e4e 100644
--- a/src/types.h
+++ b/src/types.h
@@ -9,6 +9,8 @@
#ifndef NEOVIM_TYPES_H
#define NEOVIM_TYPES_H
+#include <stdint.h>
+
/*
* Shorthand for unsigned variables. Many systems, but not all, have u_char
* already defined, so we use char_u to avoid trouble.
diff --git a/src/vim.h b/src/vim.h
index a2628ade0b..08fd74fd6b 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -149,9 +149,6 @@ typedef unsigned long u8char_T; /* long should be 32 bits or more */
#include <assert.h>
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#endif
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif