Commit 2ebe6d5a authored by Aaron Dierking's avatar Aaron Dierking Committed by Guillem Jover

Windows support for inet_net_pton()

Signed-off-by: Guillem Jover's avatarGuillem Jover <guillem@hadrons.org>
parent aeea1f40
......@@ -19,9 +19,14 @@
#include <sys/cdefs.h>
#include <sys/types.h>
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <WinSock2.h>
#else
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#endif
#include <assert.h>
#include <ctype.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment