aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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