aboutsummaryrefslogtreecommitdiffstats
path: root/src/libipsec/esp_packet.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-09-23 08:52:17 +0200
committerTobias Brunner <tobias@strongswan.org>2017-01-25 17:12:30 +0100
commit1da567734ffdeccbde737df9044b8027adb0bdb9 (patch)
tree8f52d262f395bccd8a887b073f40e34f8c309caf /src/libipsec/esp_packet.c
parent69b58e347ee09fa3adf60552f5410dbb346d6f4f (diff)
downloadstrongswan-1da567734ffdeccbde737df9044b8027adb0bdb9.tar.bz2
strongswan-1da567734ffdeccbde737df9044b8027adb0bdb9.tar.xz
libipsec: Fix Windows build via MinGW
Fixes #2118.
Diffstat (limited to 'src/libipsec/esp_packet.c')
-rw-r--r--src/libipsec/esp_packet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libipsec/esp_packet.c b/src/libipsec/esp_packet.c
index 50bc8b4f7..2c521775c 100644
--- a/src/libipsec/esp_packet.c
+++ b/src/libipsec/esp_packet.c
@@ -25,7 +25,9 @@
#include <bio/bio_reader.h>
#include <bio/bio_writer.h>
+#ifndef WIN32
#include <netinet/in.h>
+#endif
typedef struct private_esp_packet_t private_esp_packet_t;