[MacPorts] #61314: unbound @1.12.0: error: use of undeclared identifier 'IF_NAMESIZE'
MacPorts
noreply at macports.org
Wed Oct 14 05:53:38 UTC 2020
#61314: unbound @1.12.0: error: use of undeclared identifier 'IF_NAMESIZE'
---------------------------+----------------------
Reporter: chrstphrchvz | Owner: nerdling
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: unbound |
---------------------------+----------------------
Comment (by jmroot):
Even on current systems, the man page for if_indextoname specifies
multiple includes in the synopsis:
{{{
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
}}}
Should probably split `net/if.h` into its own AC_CHECK_HEADERS with an
additional `sys/socket.h` conditional include on top of the ones in
AC_INCLUDES_DEFAULT.
--
Ticket URL: <https://trac.macports.org/ticket/61314#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list