diff options
author | takase1121 <20792268+takase1121@users.noreply.github.com> | 2024-12-02 20:34:39 +0800 |
---|---|---|
committer | takase1121 <20792268+takase1121@users.noreply.github.com> | 2024-12-02 20:34:52 +0800 |
commit | f56a2fa93d726d9251b92f9ed083e0c7b2af9ab4 (patch) | |
tree | 10e7bfee1cdeb4205ffa8cbd348e0ad821f83fce /src/lpm.c | |
parent | 60bacc7fe8a6bfa8af9f581d91c3c2c7ffa010c2 (diff) | |
download | lite-xl-plugin-manager-f56a2fa93d726d9251b92f9ed083e0c7b2af9ab4.tar.gz lite-xl-plugin-manager-f56a2fa93d726d9251b92f9ed083e0c7b2af9ab4.zip |
lpm.c: use properly include winsock2.h
Diffstat (limited to 'src/lpm.c')
-rw-r--r-- | src/lpm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,10 +1,10 @@ #ifdef _WIN32 // prevent windows.h from including winsock.h, which will allow us to include winsock2.h - #define _WINSOCKAPI_ - #include <direct.h> + #define WIN32_LEAN_AND_MEAN #include <windows.h> + #include <direct.h> + #include <wincrypt.h> #include <process.h> - #include <fileapi.h> #else #ifndef LPM_NO_THRAEDS #include <pthread.h> |