"inet_pton()" isn't getting declared on Windows; include "inet_v6defs.h"

if NEED_INET_V6DEFS_H is defined, as is done in "packet-sdp.c", the
other module using "inet_pton()".

svn path=/trunk/; revision=12920
This commit is contained in:
Guy Harris 2005-01-01 23:40:56 +00:00
parent 60ea0d10e2
commit f7bffeb9f7
1 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,10 @@
#include <winsock2.h> /* needed to define AF_ values on Windows */
#endif
#ifdef NEED_INET_V6DEFS_H
# include "inet_v6defs.h"
#endif
#include <glib.h>
#include <epan/packet.h>