libipsec: Fix Windows build via MinGW

Fixes #2118.
This commit is contained in:
Tobias Brunner
2017-01-25 17:12:30 +01:00
parent 69b58e347e
commit 1da567734f
5 changed files with 43 additions and 1 deletions
+7
View File
@@ -113,6 +113,13 @@ static inline char* strdup_windows(const char *src)
*/
char* strndup(const char *s, size_t n);
/**
* From winsock2.h
*/
#ifndef IPPROTO_IPIP
#define IPPROTO_IPIP IPPROTO_IPV4
#endif
/**
* Provided via ws2_32
*/