aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpm.c')
-rw-r--r--src/lpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.c b/src/lpm.c
index ee448cb..6bc68b0 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 <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
@@ -30,6 +29,7 @@
#include <fileapi.h>
#else
#include <netdb.h>
+ #include <sys/socket.h>
#define MAX_PATH PATH_MAX
#endif