diff options
author | Graham Bloice <graham.bloice@trihedral.com> | 2014-04-08 12:26:19 +0100 |
---|---|---|
committer | Graham Bloice <graham.bloice@trihedral.com> | 2014-04-08 11:31:37 +0000 |
commit | 7077aaa54f4c5ddfba95e3f4ba44c563851338e3 (patch) | |
tree | 287ea9a417469a886b7baa0ae9f3eabc9248ee1b /epan | |
parent | 717613e529044ad4ac84995578339bad83e14910 (diff) |
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>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-lbmr.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-lbtrm.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-lbmr.c b/epan/dissectors/packet-lbmr.c index 29f1bdc821..47b4543e4a 100644 --- a/epan/dissectors/packet-lbmr.c +++ b/epan/dissectors/packet-lbmr.c @@ -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> diff --git a/epan/dissectors/packet-lbtrm.c b/epan/dissectors/packet-lbtrm.c index 7ff060ad5a..d4f97f9c5f 100644 --- a/epan/dissectors/packet-lbtrm.c +++ b/epan/dissectors/packet-lbtrm.c @@ -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> |