mirror of
https://github.com/ntop/n2n.git
synced 2026-10-19 16:16:12 +00:00
Update for MINGW windows build (#1232)
Add missing header stdlib.h, iphlpapi.h Force type casting for CryptGenRandom, setsockopt, strncpy ifdef for getenv proto type
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
#ifdef _WIN32
|
||||
#include <winsock.h>
|
||||
#include <ws2tcpip.h>
|
||||
#include <iphlpapi.h>
|
||||
#else
|
||||
#include <arpa/inet.h> // for inet_pton
|
||||
#include <net/if.h> // for if_indextoname
|
||||
|
||||
Reference in New Issue
Block a user