Skip to content

Commit

Permalink
#includes for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
Simul Piscator authored and Simul Piscator committed Nov 8, 2023
1 parent d31d8ce commit f9bfc01
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zeroconf/networkhotplugnotifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <poll.h>
#include <unistd.h>
#include <netinet/in.h>
#if __FreeBSD__
#include <netlink/netlink.h>
#include <netlink/rtnetlink.h>
#else
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#endif
#include <net/if.h>
#endif // !__APPLE__

Expand Down

0 comments on commit f9bfc01

Please sign in to comment.