You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifically, sys/socket.h must be included first. On some darwin versions, AC_INCLUDES_DEFAULT happens to take care of this, but on other versions, net/if.h is not found currently, leading to build failure.
This seems to fix the problem, using the recommended check from the autoconf manual:
The autoconf manual mentions a portability issue with checking for
net/if.h: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Header-Portability.htmlSpecifically,
sys/socket.hmust be included first. On some darwin versions, AC_INCLUDES_DEFAULT happens to take care of this, but on other versions,net/if.his not found currently, leading to build failure.This seems to fix the problem, using the recommended check from the autoconf manual: