diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-10-08 19:13:50 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-10-08 19:13:50 +0000 |
| commit | 63d12a7d77c82fe9a88af54eacd6d9211c5f0d8f (patch) | |
| tree | 819abd2c137af55bce9235377cb6c0dae213778c /lib/northbound_grpc.cpp | |
| parent | 4668ac905cf97e298fbc1b11929c64bc7b5a60af (diff) | |
lib: fix gRPC northbound plugin build
Some issues with our internal vector type being typedef'd as `vector`,
which conflicts with the C++ standard vector class...
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/northbound_grpc.cpp')
| -rw-r--r-- | lib/northbound_grpc.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/northbound_grpc.cpp b/lib/northbound_grpc.cpp index 1d6317b005..218cae4e74 100644 --- a/lib/northbound_grpc.cpp +++ b/lib/northbound_grpc.cpp @@ -18,6 +18,8 @@ // #include <zebra.h> +#include <grpcpp/grpcpp.h> +#include "grpc/frr-northbound.grpc.pb.h" #include "log.h" #include "libfrr.h" @@ -32,9 +34,6 @@ #include <memory> #include <string> -#include <grpcpp/grpcpp.h> -#include "grpc/frr-northbound.grpc.pb.h" - #define GRPC_DEFAULT_PORT 50051 /* |
