mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -07:00
Merge pull request #4680 from equalsraf/tb-windows-winsock2
Windows: Include winsock2.h before windows.h
This commit is contained in:
commit
490804ed33
@ -1,6 +1,9 @@
|
||||
#ifndef NVIM_OS_WIN_DEFS_H
|
||||
#define NVIM_OS_WIN_DEFS_H
|
||||
|
||||
// winsock2.h must be first to avoid incompatibilities
|
||||
// with winsock.h (included by windows.h)
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
#include <sys/stat.h>
|
||||
#include <io.h>
|
||||
|
Loading…
Reference in New Issue
Block a user