summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-10-09 16:43:33 -0300
committerGitHub <noreply@github.com>2019-10-09 16:43:33 -0300
commitd00d0f9634c39cc263b7a56b46034ee73b4fa83c (patch)
tree386a3878d7ec9ba5606cbc99dd57977916f9115f
parenta4862a00a3be645a32433fb4b0ca5d95a2d91a18 (diff)
parent63d12a7d77c82fe9a88af54eacd6d9211c5f0d8f (diff)
Merge pull request #5126 from qlyoung/fix-grpc-build
lib: fix gRPC northbound plugin build
-rw-r--r--lib/northbound_grpc.cpp5
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
/*