Include <stdint.h> in types.h

This commit is contained in:
Felipe Oliveira Carvalho 2014-03-12 20:03:08 -03:00 committed by Thiago de Arruda
parent 7740bdecea
commit 8b498d94d8
2 changed files with 2 additions and 3 deletions

View File

@ -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.

View File

@ -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