From: Donald Sharp Date: Wed, 15 Mar 2017 13:37:03 +0000 (-0400) Subject: zebra: zebra_fpm_dt.c does not always need protobuf X-Git-Tag: frr-2.0~6^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=358336ef366377b4a96c59efe2d6c14e881fa18c;p=matthieu%2Ffrr.git zebra: zebra_fpm_dt.c does not always need protobuf When compiling zebra_fpm_dt.c only pull in protobuf headers if we've turned it on. Signed-off-by: Donald Sharp --- diff --git a/zebra/zebra_fpm_dt.c b/zebra/zebra_fpm_dt.c index 715e250a66..7b4e1b90dc 100644 --- a/zebra/zebra_fpm_dt.c +++ b/zebra/zebra_fpm_dt.c @@ -50,8 +50,10 @@ #include "qpb/qpb_allocator.h" #include "qpb/linear_allocator.h" +#ifdef HAVE_PROTOBUF #include "qpb/qpb.h" #include "fpm/fpm.pb-c.h" +#endif /* * Externs.