diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-27 17:22:27 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-27 17:22:27 +0100 |
commit | 9e24f0c5c1b1097295d0619d95da66e6b2d83ac9 (patch) | |
tree | b1e15ae3d892646ec3adf7a0b184cb2712e20d55 /src/if_cscope.h | |
parent | 7ce686c990ea8c490d16be7f1c6bd95eb48816f9 (diff) | |
download | vim-git-9e24f0c5c1b1097295d0619d95da66e6b2d83ac9.tar.gz |
patch 7.4.1431v7.4.1431
Problem: Including header files twice.
Solution: Remove the extra includes.
Diffstat (limited to 'src/if_cscope.h')
-rw-r--r-- | src/if_cscope.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/if_cscope.h b/src/if_cscope.h index b59717017..a572f7385 100644 --- a/src/if_cscope.h +++ b/src/if_cscope.h @@ -11,16 +11,11 @@ #if defined(FEAT_CSCOPE) || defined(PROTO) -#if defined(UNIX) -# include <sys/types.h> /* pid_t */ -# include <sys/stat.h> /* dev_t, ino_t */ -#else -# if defined (WIN32) -# ifndef WIN32_LEAN_AND_MEAN -# define WIN32_LEAN_AND_MEAN -# endif -# include <windows.h> +#if defined (WIN32) +# ifndef WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN # endif +# include <windows.h> #endif #define CSCOPE_SUCCESS 0 |