Proper inclusion of inet_pton.h for win32.

(cherry picked from commit 8bd32d330b65f9f09153ec85ae5839dbcbb6052a)
This commit is contained in:
Marcelo Roberto Jimenez 2010-11-07 14:32:56 -02:00
parent bb48d48977
commit c683bd90d6

View File

@ -60,6 +60,7 @@
#ifdef WIN32 #ifdef WIN32
#include "inet_pton.h"
#else #else
#include <arpa/inet.h> /* for inet_pton() */ #include <arpa/inet.h> /* for inet_pton() */
#include <netdb.h> /* for struct addrinfo */ #include <netdb.h> /* for struct addrinfo */