diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-15 14:37:03 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-15 14:48:12 +0100 |
commit | 358336ef366377b4a96c59efe2d6c14e881fa18c (patch) | |
tree | 7254e5e328e35277bd9f5242d8961fe360b5dc77 /zebra/zebra_fpm_dt.c | |
parent | zebra: Fix protobuf build on stable/2.0 (diff) | |
download | frr-358336ef366377b4a96c59efe2d6c14e881fa18c.tar.xz frr-358336ef366377b4a96c59efe2d6c14e881fa18c.zip |
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 <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_fpm_dt.c')
-rw-r--r-- | zebra/zebra_fpm_dt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_fpm_dt.c b/zebra/zebra_fpm_dt.c index 715e250a6..7b4e1b90d 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. |