mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 00:18:33 +00:00
refactor: adjust headers according to the style guide (#23934)
System headers should be included first to prevent naming conflicts.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include <string.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/wait.h>
|
||||
#include <uv.h>
|
||||
|
||||
// forkpty is not in POSIX, so headers are platform-specific
|
||||
#if defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
@@ -31,8 +32,6 @@
|
||||
# include <crt_externs.h>
|
||||
#endif
|
||||
|
||||
#include <uv.h>
|
||||
|
||||
#include "auto/config.h"
|
||||
#include "klib/klist.h"
|
||||
#include "nvim/eval/typval.h"
|
||||
|
Reference in New Issue
Block a user