Skip to content

Commit

Permalink
Fix some includes.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 08add4bab90bb23e0e71340ac647ce8cafc4b900
  • Loading branch information
levlam committed Feb 11, 2018
1 parent 14edf49 commit 6b92744
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions td/telegram/InlineQueriesManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include "td/utils/logging.h"
#include "td/utils/misc.h"
#include "td/utils/PathView.h"
#include "td/utils/Slice.h"
#include "td/utils/Time.h"
#include "td/utils/tl_helpers.h"
#include "td/utils/tl_parsers.h"
Expand Down
1 change: 1 addition & 0 deletions td/telegram/SecretChatActor.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "td/utils/Time.h"
#include "td/utils/tl_helpers.h"

#include <functional>
#include <map>
#include <memory>
#include <tuple>
Expand Down
1 change: 1 addition & 0 deletions td/telegram/Td.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "td/utils/Status.h"

#include <memory>
#include <unordered_map>
#include <unordered_set>
#include <utility>

Expand Down
1 change: 1 addition & 0 deletions td/telegram/files/FileLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include "td/utils/misc.h"
#include "td/utils/ScopeGuard.h"

#include <algorithm>
#include <tuple>

namespace td {
Expand Down
2 changes: 1 addition & 1 deletion tdutils/generate/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ add_custom_target(tdmime_auto DEPENDS ${TDMIME_SOURCE})

if (NOT CMAKE_CROSSCOMPILING)
find_program(GPERF_EXECUTABLE gperf)
if(NOT GPERF_EXECUTABLE)
if (NOT GPERF_EXECUTABLE)
message(FATAL_ERROR "Could NOT find gperf. Path to gperf needs to be specified manually, i.e. 'cmake -DGPERF_EXECUTABLE:FILEPATH=\"<path to gperf executable>\" .')")
endif()

Expand Down
1 change: 1 addition & 0 deletions tdutils/td/utils/Closure.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "td/utils/invoke.h"
#include "td/utils/logging.h"

#include <cstdlib>
#include <tuple>
#include <type_traits>
#include <utility>
Expand Down
1 change: 1 addition & 0 deletions tdutils/td/utils/StringBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "td/utils/StringBuilder.h"

#include "td/utils/misc.h"
#include "td/utils/port/thread_local.h"

#include <cstdio>
#include <locale>
Expand Down
2 changes: 2 additions & 0 deletions tdutils/td/utils/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
//
#include "td/utils/misc.h"

#include "td/utils/port/thread_local.h"

#include <algorithm>
#include <cstdlib>
#include <locale>
Expand Down
1 change: 1 addition & 0 deletions tdutils/td/utils/port/Fd.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <errno.h>

#include <atomic>
#include <type_traits>
#endif

namespace td {
Expand Down
1 change: 1 addition & 0 deletions tdutils/test/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "td/utils/port/thread.h"
#include "td/utils/Random.h"
#include "td/utils/Slice.h"
#include "td/utils/StringBuilder.h"
#include "td/utils/tests.h"

#include <atomic>
Expand Down

0 comments on commit 6b92744

Please sign in to comment.