]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_mlag.c
zebra: Do not build mlag protobuf support if version 3 is not avail
[mirror_frr.git] / zebra / zebra_mlag.c
index 021a52c3a5fb1cc342edc9be7425d83692c9841d..f6bd5f458647be6a8ba05beff7efc61d0206499d 100644 (file)
@@ -27,6 +27,7 @@
 #include "mlag.h"
 
 #include "zebra/zebra_mlag.h"
+#include "zebra/zebra_mlag_vty.h"
 #include "zebra/zebra_router.h"
 #include "zebra/zebra_memory.h"
 #include "zebra/zapi_msg.h"
@@ -653,7 +654,7 @@ void zebra_mlag_terminate(void)
  *  ProtoBuf Encoding APIs
  */
 
-#ifdef HAVE_PROTOBUF
+#ifdef HAVE_PROTOBUF_VERSION_3
 
 DEFINE_MTYPE_STATIC(ZEBRA, MLAG_PBUF, "ZEBRA MLAG PROTOBUF")