forked from osmocom/wireshark
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:
parent
717613e529
commit
7077aaa54f
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue