the-tcpdump-group / tcpdump

the TCPdump network dissector
https://www.tcpdump.org/
Other
2.7k stars 842 forks source link

backport Haiku libnetwork build fixes #1178

Closed infrastation closed 5 months ago

infrastation commented 5 months ago

Before:

checking for library containing socket... no
checking for socket in -lsocket... no

> grep HAVE_GETSERVENT config.h
/* #undef HAVE_GETSERVENT */

After:

checking for library containing gethostbyaddr... -lnetwork
checking for library containing socket... none required

> grep HAVE_GETSERVENT config.h
#define HAVE_GETSERVENT 1

See also #1177.