diff options
author | takase1121 <20792268+takase1121@users.noreply.github.com> | 2024-12-02 11:46:44 +0800 |
---|---|---|
committer | takase1121 <20792268+takase1121@users.noreply.github.com> | 2024-12-02 11:46:44 +0800 |
commit | 32a7245c18adb166b8b2e3cb18e7f5b54f629c4d (patch) | |
tree | 3434befecd086b7c780970078e959bcb3a7aa547 | |
parent | 0042989193139217b410fc912b6c7c9f10c7ec4b (diff) | |
download | lite-xl-plugin-manager-32a7245c18adb166b8b2e3cb18e7f5b54f629c4d.tar.gz lite-xl-plugin-manager-32a7245c18adb166b8b2e3cb18e7f5b54f629c4d.zip |
lpm.c: do not include winsock.h when including winsock2.h
-rw-r--r-- | src/lpm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,4 +1,6 @@ #ifdef _WIN32 + // prevent windows.h from including winsock.h, which will allow us to include winsock2.h + #define _WINSOCKAPI_ #include <direct.h> #include <windows.h> #include <process.h> |