https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13786

--- Comment #5 from Pascal Quantin <pascal.quan...@gmail.com> ---
(In reply to Petr Sumbera from comment #4)
> Removing #include "config.h" from epan/crypt/airpdcap_ccmp.c doesn't help.
> 
> What does help is:
> 
> --- epan/crypt/airpdcap_interop.h
> +++ epan/crypt/airpdcap_interop.h
> @@ -91,6 +91,10 @@
>  #include <winsock2.h>  /* ntohs() */
>  #endif
> 
> +#ifdef __sun
> +#include <arpa/inet.h> /* ntohs() */
> +#endif
> +
>  #ifndef        ntohs
>  #undef     ntohs
>  #define        ntohs(value)    g_ntohs(value)
> 
> But this is not needed for Wireshark 2.2.7. So the root cause is probably
> somewhere else...

Wireshark 2.2 did not include config.h, thus my proposal.

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to