Skip to content

Commit 975376d

Browse files
Ivan ShynkarenkaIvan Shynkarenka
authored andcommitted
Fix compilation errors
1 parent da2befe commit 975376d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

proto/fbe.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#if defined(_WIN32) || defined(_WIN64)
1111
#include <windows.h>
12+
#include <rpc.h>
1213
#undef DELETE
1314
#undef ERROR
1415
#undef HOST_NOT_FOUND

source/generator_cpp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ void GeneratorCpp::GenerateImportsSource()
223223
std::string code = R"CODE(
224224
#if defined(_WIN32) || defined(_WIN64)
225225
#include <windows.h>
226+
#include <rpc.h>
226227
#undef DELETE
227228
#undef ERROR
228229
#undef HOST_NOT_FOUND

0 commit comments

Comments
 (0)