aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pty_process_unix.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-06-06 14:00:32 +0200
committerGitHub <noreply@github.com>2023-06-06 20:00:32 +0800
commitf5d12889e80d3369359b8248806694cf6d21f820 (patch)
tree8c3c03b9cb4a6806956d5bf6b87e9ff4a0cf24d2 /src/nvim/os/pty_process_unix.c
parent7b973c71ea845c9bcc6d98e101ad5a7956cb5802 (diff)
downloadrneovim-f5d12889e80d3369359b8248806694cf6d21f820.tar.gz
rneovim-f5d12889e80d3369359b8248806694cf6d21f820.tar.bz2
rneovim-f5d12889e80d3369359b8248806694cf6d21f820.zip
refactor: adjust headers according to the style guide (#23934)
System headers should be included first to prevent naming conflicts.
Diffstat (limited to 'src/nvim/os/pty_process_unix.c')
-rw-r--r--src/nvim/os/pty_process_unix.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/os/pty_process_unix.c b/src/nvim/os/pty_process_unix.c
index 2413f0339b..b5423c59d7 100644
--- a/src/nvim/os/pty_process_unix.c
+++ b/src/nvim/os/pty_process_unix.c
@@ -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"