Wireshark mailing list archives

Re: dragonflyBSD compiling failing from trunk


From: Guy Harris <guy () alum mit edu>
Date: Sun, 22 May 2016 19:24:12 -0700

On May 22, 2016, at 7:10 PM, Guy Harris <guy () alum mit edu> wrote:

It looks as if OS X's <arpa/inet.h> include <netinet/in.h>, but DragonFly BSD's <arpa/inet.h> doesn't.  Presumably 
the Linuxes on which we build also have <arpa/inet.h> including something that eventually causes <netinet/in.h> to be 
included, and whatever is necessary happens on Windows with MSVC's header files as well.

But it's a bug to rely on that, so I've checked in a change to explicitly include <netinet/in.h>.

And it might be necessary to explicitly include <sys/socket.h> as well, so I've checked in *another* change to do so.  
Do "git pull"s until you have a version of wsutil/interface.c that includes both <sys/socket.h> and <netinet/in.h>.
___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe


Current thread: