Don't include net/if_var.h; it's not present on all *BSDs.

It also doesn't appear to be needed.  If a build fails on some version
of some BSD because it's not being included, *do not* add it back
unconditionally, add it back only for the BSD or BSDs on which it fails.
(NetBSD will not be one of those BSDs, as it doesn't *have* a
net/if_var.h header.)
This commit is contained in:
Guy Harris 2023-12-21 23:58:22 -08:00
parent 8e3de579a0
commit 685ea4f15d
1 changed files with 0 additions and 1 deletions

View File

@ -374,7 +374,6 @@ iface_mon_event(void)
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <net/if_var.h>
#include <net/route.h>
#include <net/if_dl.h>