X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fnetdev.c;h=0b0463b9070d2fb83e403faa7d00f52c8f998065;hb=c178dfe0b0422a04df9dab93d9563474acecef32;hp=c21afef829ca22d1bca8e475813df654dc5f9955;hpb=2158888d8d8f3b4c00dcf979390a19fa7fcf7942;p=openvswitch diff --git a/lib/netdev.c b/lib/netdev.c index c21afef8..0b0463b9 100644 --- a/lib/netdev.c +++ b/lib/netdev.c @@ -42,10 +42,12 @@ #include "vlog.h" static const struct netdev_class *base_netdev_classes[] = { +#ifdef HAVE_NETLINK &netdev_linux_class, &netdev_tap_class, &netdev_patch_class, &netdev_gre_class, +#endif }; static struct shash netdev_classes = SHASH_INITIALIZER(&netdev_classes);