diff --git a/libifupdown/compat.c b/libifupdown/compat.c index b6e5547..1c8f233 100644 --- a/libifupdown/compat.c +++ b/libifupdown/compat.c @@ -16,6 +16,7 @@ #include #include #include +#include "libifupdown/compat.h" #include "libifupdown/config-file.h" #include "libifupdown/dict.h" #include "libifupdown/interface.h" @@ -102,7 +103,7 @@ compat_ifupdown2_bridge_ports_inherit_vlans(struct lif_dict *collection) return true; } -extern bool +bool lif_compat_apply(struct lif_dict *collection) { if (lif_config.compat_ifupdown2_bridge_ports_inherit_vlans && diff --git a/libifupdown/compat.h b/libifupdown/compat.h index ebb668b..2bdfef2 100644 --- a/libifupdown/compat.h +++ b/libifupdown/compat.h @@ -17,6 +17,7 @@ #define LIBIFUPDOWN__COMPAT_H #include "libifupdown/config-file.h" +#include "libifupdown/dict.h" extern bool lif_compat_apply (struct lif_dict *collection);