diff --git a/src/netcalc.h b/src/netcalc.h index b31d669..0e5c30b 100644 --- a/src/netcalc.h +++ b/src/netcalc.h @@ -32,6 +32,9 @@ #include #include #include /* warnx() et al */ +#ifdef __APPLE__ +#include /* Has to be included before net/if.h */ +#endif #include /* IFNAMSIZ */ #define V4ADDR_VAL "0123456789."