diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-15 09:37:03 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-15 09:48:12 -0400 | 
| commit | 358336ef366377b4a96c59efe2d6c14e881fa18c (patch) | |
| tree | 7254e5e328e35277bd9f5242d8961fe360b5dc77 /zebra | |
| parent | 9cbae545f06d8cd8914c16d7d1f599c6004cc0c3 (diff) | |
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')
| -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 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.  | 
