refactor: adjust headers according to the style guide (#23934)

System headers should be included first to prevent naming conflicts.
This commit is contained in:
dundargoc
2023-06-06 14:00:32 +02:00
committed by GitHub
parent 7b973c71ea
commit f5d12889e8
9 changed files with 33 additions and 32 deletions

View File

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