Fixes for Windows build post change 1006

Windows still needs the definition of in_addr_t

Change-Id: I43c417de8e8199cfa58b9d494be5e828f959f1a9
Reviewed-on: https://code.wireshark.org/review/1009
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
Tested-by: Graham Bloice <graham.bloice@trihedral.com>
This commit is contained in:
Graham Bloice 2014-04-08 12:26:19 +01:00
parent 717613e529
commit 7077aaa54f
2 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,8 @@
#include "config.h"
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#else
typedef unsigned int in_addr_t;
#endif
#if HAVE_WINSOCK2_H
#include <winsock2.h>

View File

@ -25,6 +25,8 @@
#include "config.h"
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#else
typedef unsigned int in_addr_t;
#endif
#if HAVE_WINSOCK2_H
#include <winsock2.h>