somehow upstream builds don't need these headers :-/
authorAndroid Tools Maintainers <android-tools-devel@lists.alioth.debian.org>
Wed, 11 Jan 2023 08:19:44 +0000 (08:19 +0000)
committerJochen Sprickerhof <jspricke@debian.org>
Wed, 11 Jan 2023 08:19:44 +0000 (08:19 +0000)
Forwarded: not-needed

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

30 files changed:
art/libartbase/arch/instruction_set.cc
art/libartbase/base/arena_allocator.h
art/libartbase/base/arena_containers.h
art/libartbase/base/bit_vector-inl.h
art/libartbase/base/bit_vector.cc
art/libartbase/base/bit_vector.h
art/libartbase/base/endian_utils.h
art/libartbase/base/file_magic.cc
art/libartbase/base/file_utils.cc
art/libartbase/base/logging.cc
art/libartbase/base/membarrier.cc
art/libartbase/base/memfd.cc
art/libartbase/base/scoped_flock.cc
art/libartbase/base/unix_file/fd_file.cc
art/libdexfile/dex/descriptors_names.cc
art/libdexfile/dex/dex_file_loader.h
art/libdexfile/dex/dex_file_types.h
art/libdexfile/dex/method_reference.h
art/libprofile/profile/profile_boot_info.cc
art/runtime/arch/instruction_set_features.cc
art/runtime/arch/mips/instruction_set_features_mips.cc
art/runtime/arch/x86/context_x86.cc
art/runtime/base/mutex.cc
art/runtime/exec_utils.cc
art/runtime/gc/accounting/heap_bitmap.cc
art/runtime/gc/accounting/read_barrier_table.h
art/runtime/jit/profiling_info.h
art/runtime/monitor.h
art/runtime/runtime_common.h
art/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 414668c0de518dd0fa94074dbfb4874f7d13d1fc..7107cb115d0f758618d75277af65a764fe8935cf 100644 (file)
@@ -20,6 +20,7 @@
 #include <stdint.h>
 #include <endian.h>
 #include <vector>
+#include <cstring>
 
 namespace art {
 
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 3fd19807bf6bb2c1fc52677aa1814cf0f850bf7b..3412e5a216822aeba77d2c7c04b762b3430ec8d2 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 48f47dff44c0159edfed8fe9ae2ebf9cb60dc90a..8729d344cc034e6a935eee18c4e26e0560c6f485 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <errno.h>
 #include <stdio.h>
+#include <cstring>
 
 #if !defined(_WIN32)
 #include <sys/syscall.h>
index 8512a3ae1357eb3e24b07ad6f1ca8b900d0234f7..6f98e13c5bd0072abf159c6b5270594f12bdae85 100644 (file)
@@ -31,6 +31,7 @@
 #include <android-base/logging.h>
 #include <android-base/unique_fd.h>
 
+#include <cstring>
 #include "macros.h"
 
 
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 44cb7cb588da490f03c7a3afdc1d85982d0b0d2a..c9d85e5f842787f17f511b87f58a97e5b5ce7032 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 b64d0865dc9ada8002a3591fb5dc111eadd5d6f7..53d60b96104a3fd8d1035a52442fe28107d1461c 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <unistd.h>
 
+#include <cstring>
 #include <vector>
 
 #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 0d1b162be7a28c6d2d9e999de54e8e42a5453ffc..1e8552f47db5852b70800ec7c3a4b03884fd33a7 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <errno.h>
 #include <sys/time.h>
+#include <algorithm>
 
 #include <sstream>
 
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 4a3902e83d38088d3b05422ddf1ba1691f1a9f6e..7b4b93ae8a227382ef060e5e564d928881f591b5 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 14d76d2d92a0a54dd89e92823f738738509282b2..1d37bfa8f51a695e0a454359e44688e06080951e 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 0714da1a94eeccf9518939f2d00cc6f419c7b7ab..8796e7f1ea2e763c8a91a2d784dfd823c308af2f 100644 (file)
@@ -25,6 +25,7 @@
 #include <iosfwd>
 #include <list>
 #include <vector>
+#include <cstring>
 
 #include "base/allocator.h"
 #include "base/atomic.h"
index 925594ef295e5b921415a5267d3723da8fd4b9a2..cc20b0ad67de48f0ee9dd7a3f63914d61aa085a5 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <sys/utsname.h>
 #include <ucontext.h>
+#include <signal.h>
 
 #include <iomanip>
 
index 76027f54bb4697f9c149cc33720b0eb80f618a0a..70425a9a90d4aeee03200cf907f0b0edb11e5205 100644 (file)
@@ -27,6 +27,7 @@
 #include <mutex>
 #include <type_traits>
 #include <utility>
+#include <climits>
 
 #include "log.h"
 #include "sigchain.h"