summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/rpcStub.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rpcStub.hpp b/src/rpcStub.hpp

index f567cd97..d183cf3c 100644 --- a/src/rpcStub.hpp +++ b/src/rpcStub.hpp
@@ -2,6 +2,8 @@ #include "protodefs/include/protos.grpc.pb.h" #include "rtcPeerHandler.hpp" +#ifndef RPCSTUB +#define RPCSTUB class rpcStub{ public: rpcStub(std::shared_ptr<rtcPeerHandler> peerHandler, int port); @@ -9,4 +11,5 @@ class rpcStub{ private: std::shared_ptr<rtcPeerHandler> ph; -}; \ No newline at end of file +}; +#endif \ No newline at end of file