Fix some includes.

GitOrigin-RevId: 08add4bab90bb23e0e71340ac647ce8cafc4b900
This commit is contained in:
levlam 2018-02-11 18:58:18 +03:00
parent 14edf49084
commit 6b927449eb
10 changed files with 11 additions and 1 deletions

View File

@ -39,6 +39,7 @@
#include "td/utils/logging.h" #include "td/utils/logging.h"
#include "td/utils/misc.h" #include "td/utils/misc.h"
#include "td/utils/PathView.h" #include "td/utils/PathView.h"
#include "td/utils/Slice.h"
#include "td/utils/Time.h" #include "td/utils/Time.h"
#include "td/utils/tl_helpers.h" #include "td/utils/tl_helpers.h"
#include "td/utils/tl_parsers.h" #include "td/utils/tl_parsers.h"

View File

@ -35,6 +35,7 @@
#include "td/utils/Time.h" #include "td/utils/Time.h"
#include "td/utils/tl_helpers.h" #include "td/utils/tl_helpers.h"
#include <functional>
#include <map> #include <map>
#include <memory> #include <memory>
#include <tuple> #include <tuple>

View File

@ -25,6 +25,7 @@
#include "td/utils/Status.h" #include "td/utils/Status.h"
#include <memory> #include <memory>
#include <unordered_map>
#include <unordered_set> #include <unordered_set>
#include <utility> #include <utility>

View File

@ -17,6 +17,7 @@
#include "td/utils/misc.h" #include "td/utils/misc.h"
#include "td/utils/ScopeGuard.h" #include "td/utils/ScopeGuard.h"
#include <algorithm>
#include <tuple> #include <tuple>
namespace td { namespace td {

View File

@ -18,7 +18,7 @@ add_custom_target(tdmime_auto DEPENDS ${TDMIME_SOURCE})
if (NOT CMAKE_CROSSCOMPILING) if (NOT CMAKE_CROSSCOMPILING)
find_program(GPERF_EXECUTABLE gperf) 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>\" .')") 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() endif()

View File

@ -10,6 +10,7 @@
#include "td/utils/invoke.h" #include "td/utils/invoke.h"
#include "td/utils/logging.h" #include "td/utils/logging.h"
#include <cstdlib>
#include <tuple> #include <tuple>
#include <type_traits> #include <type_traits>
#include <utility> #include <utility>

View File

@ -7,6 +7,7 @@
#include "td/utils/StringBuilder.h" #include "td/utils/StringBuilder.h"
#include "td/utils/misc.h" #include "td/utils/misc.h"
#include "td/utils/port/thread_local.h"
#include <cstdio> #include <cstdio>
#include <locale> #include <locale>

View File

@ -6,6 +6,8 @@
// //
#include "td/utils/misc.h" #include "td/utils/misc.h"
#include "td/utils/port/thread_local.h"
#include <algorithm> #include <algorithm>
#include <cstdlib> #include <cstdlib>
#include <locale> #include <locale>

View File

@ -22,6 +22,7 @@
#include <errno.h> #include <errno.h>
#include <atomic> #include <atomic>
#include <type_traits>
#endif #endif
namespace td { namespace td {

View File

@ -15,6 +15,7 @@
#include "td/utils/port/thread.h" #include "td/utils/port/thread.h"
#include "td/utils/Random.h" #include "td/utils/Random.h"
#include "td/utils/Slice.h" #include "td/utils/Slice.h"
#include "td/utils/StringBuilder.h"
#include "td/utils/tests.h" #include "td/utils/tests.h"
#include <atomic> #include <atomic>