aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/os_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/os/os_defs.h')
-rw-r--r--src/nvim/os/os_defs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nvim/os/os_defs.h b/src/nvim/os/os_defs.h
index c595013a21..1e0f5b77f8 100644
--- a/src/nvim/os/os_defs.h
+++ b/src/nvim/os/os_defs.h
@@ -7,6 +7,12 @@
#include <sys/stat.h>
#include <sys/types.h>
+// Note: Some systems need both string.h and strings.h (Savage).
+#include <string.h>
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+
#ifdef MSWIN
# include "nvim/os/win_defs.h"
#else
@@ -36,12 +42,6 @@
// Command-processing buffer. Use large buffers for all platforms.
#define CMDBUFFSIZE 1024
-// Note: Some systems need both string.h and strings.h (Savage).
-#include <string.h>
-#ifdef HAVE_STRINGS_H
-# include <strings.h>
-#endif
-
/// Converts libuv error (negative int) to error description string.
#define os_strerror uv_strerror