mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-11-23 00:52:00 +01:00
Fixed include logic for internal API
This commit is contained in:
parent
8cb11c967f
commit
96ec79717c
@ -30,7 +30,7 @@
|
||||
|
||||
#include "abstract_subnet_counters.hpp"
|
||||
|
||||
#include "fastnetmon.grpc.pb.h"
|
||||
#include "fastnetmon_internal_api.grpc.pb.h"
|
||||
#include <grpc++/grpc++.h>
|
||||
|
||||
#ifdef __GNUC__
|
||||
@ -128,12 +128,10 @@
|
||||
#include <cppkafka/cppkafka.h>
|
||||
#endif
|
||||
|
||||
#ifdef FASTNETMON_API
|
||||
|
||||
#include "api.hpp"
|
||||
|
||||
#ifdef FASTNETMON_API
|
||||
using fastmitigation::BanListReply;
|
||||
using fastmitigation::BanListRequest;
|
||||
using fastmitigation::Fastnetmon;
|
||||
using grpc::Server;
|
||||
using grpc::ServerBuilder;
|
||||
using grpc::ServerContext;
|
||||
|
Loading…
Reference in New Issue
Block a user