Wireshark-commits: [Wireshark-commits] master b07d5c7: Explicitly include <netinet/in.h>.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 23 May 2016 02:08:30 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b07d5c73b6e39d0ffc435e4f6c5372ac3d29cc6e
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b07d5c7 by Guy Harris (guy@xxxxxxxxxxxx):

    Explicitly include <netinet/in.h>.
    
    We use structures from it, and must not depend on <arpa/inet.h> or
    <ifaddrs.h> to include it for us, as that doesn't necessarily happen on
    all platforms (it doesn't happen on DragonFly BSD, for example).
    
    Change-Id: Id0e6cc406b774efb076bb8e04827fdb7d502be16
    Reviewed-on: https://code.wireshark.org/review/15541
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  81d65cc   Add wtap_optionblock_set_option_string_format
    adds  b07d5c7   Explicitly include <netinet/in.h>.


Summary of changes:
 wsutil/interface.c |    4 ++++
 1 file changed, 4 insertions(+)