mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 00:18:33 +00:00
memory.h: don't include vim.h in header files
Also include stdint.h in khash.h. It was transitively included by vim.h via memory.h before. khash.h accidentally relied on that.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
#ifndef NVIM_MEMORY_H
|
||||
#define NVIM_MEMORY_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include "nvim/vim.h"
|
||||
#include <stddef.h> // for size_t
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "memory.h.generated.h"
|
||||
|
Reference in New Issue
Block a user