Skip to content

Commit

Permalink
Fix Thrift lib deps and includes
Browse files Browse the repository at this point in the history
Summary: This is to make the headers self-contained, so they can be precompiled / analysed by clang-tools / etc.

Reviewed By: thedavekwon, vitaut

Differential Revision: D63764817

fbshipit-source-id: ff34ec75b9b678094765eb3279c4b90b4f3a750c
  • Loading branch information
Nhat Minh Le authored and facebook-github-bot committed Oct 4, 2024
1 parent 3784550 commit 4d6e1e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions thrift/lib/cpp2/transport/core/EnvelopeUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#pragma once

#include <folly/Optional.h>
#include <folly/Utility.h>
#include <thrift/lib/cpp2/protocol/BinaryProtocol.h>
#include <thrift/lib/cpp2/protocol/CompactProtocol.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include <optional>
#include <thrift/lib/cpp2/server/Cpp2ConnContext.h>
#include <thrift/lib/cpp2/server/LoggingEvent.h>

namespace apache {
namespace thrift {
Expand Down

0 comments on commit 4d6e1e6

Please sign in to comment.