aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2022-11-29 19:07:34 -0500
committerAdam Harrison <adamdharrison@gmail.com>2022-11-29 19:07:34 -0500
commitd229296fb59f460bc9f081c18c1f767eae31070f (patch)
treee87193e0265452942def6d4a73971c060d08d96f /src
parentea9b7c9415544bc7e74bbaa90341694f5621b791 (diff)
downloadlite-xl-plugin-manager-d229296fb59f460bc9f081c18c1f767eae31070f.tar.gz
lite-xl-plugin-manager-d229296fb59f460bc9f081c18c1f767eae31070f.zip
Windows fixes.
Diffstat (limited to 'src')
-rw-r--r--src/lpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.c b/src/lpm.c
index 6bc68b0..9666a1d 100644
--- a/src/lpm.c
+++ b/src/lpm.c
@@ -19,7 +19,6 @@
#include <mbedtls/ctr_drbg.h>
#include <mbedtls/ssl.h>
#include <mbedtls/net.h>
-#include <netinet/in.h>
#include <arpa/inet.h>
#ifdef _WIN32
@@ -28,6 +27,7 @@
#include <windows.h>
#include <fileapi.h>
#else
+ #include <netinet/in.h>
#include <netdb.h>
#include <sys/socket.h>
#define MAX_PATH PATH_MAX