somehow upstream builds don't need these headers :-/
authorAndroid Tools Maintainers <android-tools-devel@lists.alioth.debian.org>
Fri, 21 Jan 2022 15:26:23 +0000 (15:26 +0000)
committerRoger Shimizu <rosh@debian.org>
Fri, 21 Jan 2022 15:26:23 +0000 (15:26 +0000)
Forwarded: not-needed

Gbp-Pq: Name missing-system-includes.patch

28 files changed:
libartbase/arch/instruction_set.cc
libartbase/base/arena_allocator.h
libartbase/base/arena_containers.h
libartbase/base/bit_vector-inl.h
libartbase/base/bit_vector.cc
libartbase/base/bit_vector.h
libartbase/base/file_magic.cc
libartbase/base/file_utils.cc
libartbase/base/logging.cc
libartbase/base/memfd.cc
libartbase/base/scoped_flock.cc
libartbase/base/unix_file/fd_file.cc
libdexfile/dex/descriptors_names.cc
libdexfile/dex/dex_file_loader.h
libdexfile/dex/dex_file_types.h
libdexfile/dex/method_reference.h
runtime/arch/instruction_set_features.cc
runtime/arch/mips/instruction_set_features_mips.cc
runtime/arch/x86/context_x86.cc
runtime/base/mutex.cc
runtime/exec_utils.cc
runtime/gc/accounting/heap_bitmap.cc
runtime/gc/accounting/read_barrier_table.h
runtime/jdwp/jdwp_handler.cc
runtime/jit/profiling_info.h
runtime/monitor.h
runtime/runtime_common.h
sigchainlib/sigchain.cc

index 8d4fbf4422ac8dc80fb2b6d21d02326d9a4dcbab..d549d2a07beaf229c6dc7a45b9ecbf09519d215d 100644 (file)
@@ -19,6 +19,7 @@
 #include "android-base/logging.h"
 #include "base/bit_utils.h"
 #include "base/globals.h"
+#include <cstring>
 
 namespace art {
 
index a9ccae1b07369912d280d51d71090029bbbad658..3269ef1d3339898fe4007b5bbb3a4c01871d31bd 100644 (file)
@@ -17,6 +17,7 @@
 #ifndef ART_LIBARTBASE_BASE_ARENA_ALLOCATOR_H_
 #define ART_LIBARTBASE_BASE_ARENA_ALLOCATOR_H_
 
+#include <cstring>
 #include <stddef.h>
 #include <stdint.h>
 
index 41b3bb9f5d723fb7d305560cf2604625dc6eb6a9..0c946cf6146de27e8c8a5efb489d1649480dc71b 100644 (file)
@@ -17,6 +17,7 @@
 #ifndef ART_LIBARTBASE_BASE_ARENA_CONTAINERS_H_
 #define ART_LIBARTBASE_BASE_ARENA_CONTAINERS_H_
 
+#include <cstring>
 #include <deque>
 #include <queue>
 #include <set>
index 2bdc14ebe9b04d70f8f734183b4852db33e2a254..3872151679ed32c3e8340f256da1233473178ab9 100644 (file)
@@ -20,6 +20,7 @@
 #include "bit_vector.h"
 
 #include <android-base/logging.h>
+#include <cstring>
 
 #include "bit_utils.h"
 
index c706c7ebf250ee836a5b4e24baa5a083edb7e2a9..0c07e2526f7e38b88722a6a281b7865b43946805 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "bit_vector.h"
 
+#include <cstring>
 #include <limits>
 #include <sstream>
 
index a930f4e556901c6b8ff37e3aa1a77b74e830f428..0520eb2bd7b83e15f06ea4f8b2aa725b0065ef71 100644 (file)
@@ -18,6 +18,7 @@
 #define ART_LIBARTBASE_BASE_BIT_VECTOR_H_
 
 #include <stdint.h>
+#include <cstring>
 #include <iterator>
 
 #include "bit_utils.h"
index 1471c59b730e77c1d2ce4d94970861fdd8a64b74..287669678374e471ce1c47ec3b4f77f4dfa25c5a 100644 (file)
@@ -19,6 +19,7 @@
 #include <fcntl.h>
 #include <sys/stat.h>
 #include <sys/types.h>
+#include <cstring>
 
 #include <android-base/logging.h>
 #include <android-base/stringprintf.h>
index 1216ab06626ce123a7f791794287ba1662093e9f..3add68aaa79740119ae3f08fb6b389c87c2719bd 100644 (file)
@@ -40,6 +40,7 @@
 
 
 #include <memory>
+#include <cstring>
 
 #include "android-base/stringprintf.h"
 #include "android-base/strings.h"
index a66a7e363546fc889fd7a4d3eded02520e180518..81a64570be0f817313099ebac81030a24ae63362 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "logging.h"
 
+#include <cstring>
 #include <iostream>
 #include <limits>
 #include <sstream>
index 780be328afcf56568d7c995ee46aeb450d6f4354..3b5fe2384957d8633c0f11596673c6069296b792 100644 (file)
@@ -24,6 +24,7 @@
 #include <unistd.h>
 #endif
 
+#include <cstring>
 #include "macros.h"
 
 // When building for linux host, glibc in prebuilts does not include memfd_create system call
index b16a45aaecdde78f18c5fd9ac58fb31e92c22dec..3e142b5a4f0d9a4c3e23c3af23155e69978f7c46 100644 (file)
@@ -19,6 +19,8 @@
 #include <sys/file.h>
 #include <sys/stat.h>
 
+#include <cstring>
+
 #include <android-base/logging.h>
 #include <android-base/stringprintf.h>
 
index 8831b9c6b7adbfb3eb30b9300385a057123a85d4..bfe51f464bf8034f08397452103c369ad1d217f9 100644 (file)
@@ -29,6 +29,7 @@
 #include <windows.h>
 #endif
 
+#include <cstring>
 #include <limits>
 
 #include <android-base/file.h>
index 1e8eb3349bb724d5869124a414d02ffdb8e239fc..d8fec69bd0a1422d30cbcc9596b3457c6d0de860 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "base/macros.h"
 #include "dex/utf-inl.h"
+#include <cstring>
 
 namespace art {
 
index 49e177fce6b91af1e0b96f47a0fb71c3f0a0cea3..bb79d5686ae3dfc11670d843bbe8b59d047fa0d6 100644 (file)
@@ -18,6 +18,7 @@
 #define ART_LIBDEXFILE_DEX_DEX_FILE_LOADER_H_
 
 #include <cstdint>
+#include <cstring>
 #include <memory>
 #include <string>
 #include <vector>
index ecc048219d2ba79b637dc846f2abe769f473f1da..05571ef23e48a653c3e1a96bb3057065bff6ddf1 100644 (file)
@@ -17,6 +17,8 @@
 #ifndef ART_LIBDEXFILE_DEX_DEX_FILE_TYPES_H_
 #define ART_LIBDEXFILE_DEX_DEX_FILE_TYPES_H_
 
+#include <cstdint>
+#include <functional>
 #include <iosfwd>
 #include <limits>
 #include <utility>
index f66ac30c53783286b18ff2903d4496777e4c823a..ba69984bdbeb9db4178c819eb29605bff69b9b7b 100644 (file)
@@ -17,6 +17,7 @@
 #ifndef ART_LIBDEXFILE_DEX_METHOD_REFERENCE_H_
 #define ART_LIBDEXFILE_DEX_METHOD_REFERENCE_H_
 
+#include <cstring>
 #include <stdint.h>
 #include <string>
 #include "dex/dex_file.h"
index c5c2d31158adeadf66ccdbb38ba626cbe4057dc4..0742696f50914b5e44517d1ab69662bdad082230 100644 (file)
@@ -21,6 +21,8 @@
 #include <algorithm>
 #include <ostream>
 
+#include <algorithm>
+
 #include "android-base/strings.h"
 
 #include "base/casts.h"
index 99ce53638ae76b86bbe35e0cda8e318582d85b57..64dd86f280367fd8f076cb54db96aa298dd39ce3 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <fstream>
 #include <sstream>
+#include <cstring>
 
 #include <android-base/stringprintf.h>
 #include <android-base/strings.h>
index 5c3171299c87e7a713f78fc959a114922ff65d2a..825e60a3c0626481bc6b715f50a862bc6b14a2d2 100644 (file)
@@ -16,6 +16,8 @@
 
 #include "context_x86.h"
 
+#include <cstring>
+
 #include "base/bit_utils.h"
 #include "base/bit_utils_iterator.h"
 #include "base/memory_tool.h"
index f4394f73b7e8587a823c3c3fafccc967d96e7eb5..db2d4d8db013637b50d1d82e7ac1bd42c2681b25 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <errno.h>
 #include <sys/time.h>
+#include <algorithm>
 
 #include "android-base/stringprintf.h"
 
index db1baa76f9b959d79e7e851c9639fcad81367c39..0954f4a8bedae0d33d5e3e910bd5df186fa0335a 100644 (file)
@@ -20,6 +20,7 @@
 #include <sys/wait.h>
 #include <string>
 #include <vector>
+#include <cstring>
 
 #include "android-base/stringprintf.h"
 #include "android-base/strings.h"
index 1d729ff4b1e4e00a0df3b6e341638f78af7aacc8..c4f1f35c5c657f22d5feeea174746740f4a5082e 100644 (file)
@@ -16,6 +16,8 @@
 
 #include "heap_bitmap.h"
 
+#include <algorithm>
+
 #include "gc/accounting/space_bitmap-inl.h"
 #include "gc/space/space.h"
 
index 44cdb5e02e8a9616de99d9a4d1ac381eb1987b8a..ccc256fc3f8a7273590ae538c3ee11bf4bbd1c14 100644 (file)
@@ -18,6 +18,7 @@
 #define ART_RUNTIME_GC_ACCOUNTING_READ_BARRIER_TABLE_H_
 
 #include <sys/mman.h>  // For the PROT_* and MAP_* constants.
+#include <cstring>
 
 #include "base/bit_utils.h"
 #include "base/locks.h"
index 37365ff9b592892fad323a351c68a4b70a721dea..58e2d22769a6bd8201908e3eef235492920c10c9 100644 (file)
@@ -19,6 +19,7 @@
 #include <unistd.h>
 #include <memory>
 #include <string>
+#include <algorithm>
 
 #include "android-base/stringprintf.h"
 
index f6139bb82b29d149473dcbefc956c40366de697b..7ee0437391bf53447e43c5efb01895d5bf733ede 100644 (file)
@@ -18,6 +18,7 @@
 #define ART_RUNTIME_JIT_PROFILING_INFO_H_
 
 #include <vector>
+#include <cstring>
 
 #include "base/macros.h"
 #include "gc_root.h"
index 4187f27c945be750bdcf88003f60718eb74827fe..b52d4bf8901ac69421f1f7df61fbd1cabd05ca7a 100644 (file)
@@ -24,6 +24,7 @@
 #include <iosfwd>
 #include <list>
 #include <vector>
+#include <cstring>
 
 #include "base/allocator.h"
 #include "base/atomic.h"
index 698d0603ee7de04ed40f74b3674e1be35f88bb94..ae519d5f67cce7fb1b0feb42eeabed516ba6eb40 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <sys/utsname.h>
 #include <ucontext.h>
+#include <signal.h>
 
 #include <iomanip>
 
index 08ee690e0ecc40b7bba8ffce07734813f8d0e180..890b0e74b18673014e6d5b7cf52718292dd3234b 100644 (file)
@@ -27,6 +27,7 @@
 #include <mutex>
 #include <type_traits>
 #include <utility>
+#include <climits>
 
 #include "log.h"
 #include "sigchain.h"