Add missing includes for cstring

This commit is contained in:
Drew DeVault 2015-06-16 23:08:05 -06:00
parent aae45515ae
commit a064ba053e
34 changed files with 57 additions and 1 deletions

View File

@ -9,6 +9,8 @@
#include "xenia/apu/audio_decoder.h" #include "xenia/apu/audio_decoder.h"
#include <cstring>
#include "xenia/apu/audio_system.h" #include "xenia/apu/audio_system.h"
#include "xenia/base/logging.h" #include "xenia/base/logging.h"

View File

@ -9,6 +9,7 @@
#include "xenia/base/arena.h" #include "xenia/base/arena.h"
#include <cstring>
#include <memory> #include <memory>
#include "xenia/base/assert.h" #include "xenia/base/assert.h"

View File

@ -10,6 +10,7 @@
#ifndef XENIA_BASE_MEMORY_H_ #ifndef XENIA_BASE_MEMORY_H_
#define XENIA_BASE_MEMORY_H_ #define XENIA_BASE_MEMORY_H_
#include <cstring>
#include <functional> #include <functional>
#include <string> #include <string>

View File

@ -9,6 +9,8 @@
#include "xenia/base/ring_buffer.h" #include "xenia/base/ring_buffer.h"
#include <cstring>
namespace xe { namespace xe {
RingBuffer::RingBuffer(uint8_t *raw_buffer, size_t size, size_t write_offset) RingBuffer::RingBuffer(uint8_t *raw_buffer, size_t size, size_t write_offset)
@ -62,4 +64,4 @@ size_t RingBuffer::DistanceToOffset(size_t offset) {
} }
} }
} // namespace xe } // namespace xe

View File

@ -9,6 +9,8 @@
#include "xenia/cpu/backend/backend.h" #include "xenia/cpu/backend/backend.h"
#include <cstring>
namespace xe { namespace xe {
namespace cpu { namespace cpu {
namespace backend { namespace backend {

View File

@ -9,6 +9,8 @@
#include "xenia/cpu/backend/x64/x64_code_cache.h" #include "xenia/cpu/backend/x64/x64_code_cache.h"
#include <cstring>
#include "xenia/base/assert.h" #include "xenia/base/assert.h"
#include "xenia/base/clock.h" #include "xenia/base/clock.h"
#include "xenia/base/logging.h" #include "xenia/base/logging.h"

View File

@ -9,6 +9,8 @@
#include "xenia/cpu/backend/x64/x64_emitter.h" #include "xenia/cpu/backend/x64/x64_emitter.h"
#include <cstring>
#include <gflags/gflags.h> #include <gflags/gflags.h>
#include "xenia/base/assert.h" #include "xenia/base/assert.h"

View File

@ -24,6 +24,8 @@
#include "xenia/cpu/backend/x64/x64_sequences.h" #include "xenia/cpu/backend/x64/x64_sequences.h"
#include <cstring>
#include "xenia/base/assert.h" #include "xenia/base/assert.h"
#include "xenia/base/clock.h" #include "xenia/base/clock.h"
#include "xenia/base/logging.h" #include "xenia/base/logging.h"

View File

@ -10,6 +10,7 @@
#include "xenia/cpu/compiler/passes/register_allocation_pass.h" #include "xenia/cpu/compiler/passes/register_allocation_pass.h"
#include <algorithm> #include <algorithm>
#include <cstring>
#include "xenia/base/assert.h" #include "xenia/base/assert.h"
#include "xenia/base/logging.h" #include "xenia/base/logging.h"

View File

@ -9,6 +9,8 @@
#include "xenia/cpu/frontend/ppc_hir_builder.h" #include "xenia/cpu/frontend/ppc_hir_builder.h"
#include <cstring>
#include "xenia/base/byte_order.h" #include "xenia/base/byte_order.h"
#include "xenia/base/logging.h" #include "xenia/base/logging.h"
#include "xenia/base/memory.h" #include "xenia/base/memory.h"

View File

@ -9,6 +9,8 @@
#include "xenia/cpu/hir/hir_builder.h" #include "xenia/cpu/hir/hir_builder.h"
#include <cstring>
#include "xenia/base/assert.h" #include "xenia/base/assert.h"
#include "xenia/cpu/hir/block.h" #include "xenia/cpu/hir/block.h"
#include "xenia/cpu/hir/instr.h" #include "xenia/cpu/hir/instr.h"

View File

@ -9,6 +9,8 @@
#include "xenia/cpu/symbol_info.h" #include "xenia/cpu/symbol_info.h"
#include <cstring>
namespace xe { namespace xe {
namespace cpu { namespace cpu {

View File

@ -9,6 +9,8 @@
#include "xenia/cpu/thread_state.h" #include "xenia/cpu/thread_state.h"
#include <cstring>
#include "xenia/base/assert.h" #include "xenia/base/assert.h"
#include "xenia/base/logging.h" #include "xenia/base/logging.h"
#include "xenia/base/threading.h" #include "xenia/base/threading.h"

View File

@ -11,6 +11,7 @@
#define XENIA_DEBUG_FUNCTION_TRACE_DATA_H_ #define XENIA_DEBUG_FUNCTION_TRACE_DATA_H_
#include <cstdint> #include <cstdint>
#include <cstring>
#include "xenia/base/memory.h" #include "xenia/base/memory.h"

View File

@ -11,6 +11,7 @@
#define XENIA_GPU_GL4_COMMAND_PROCESSOR_H_ #define XENIA_GPU_GL4_COMMAND_PROCESSOR_H_
#include <atomic> #include <atomic>
#include <cstring>
#include <functional> #include <functional>
#include <memory> #include <memory>
#include <queue> #include <queue>

View File

@ -9,6 +9,8 @@
#include "xenia/gpu/gl4/draw_batcher.h" #include "xenia/gpu/gl4/draw_batcher.h"
#include <cstring>
#include "xenia/base/logging.h" #include "xenia/base/logging.h"
#include "xenia/base/math.h" #include "xenia/base/math.h"
#include "xenia/gpu/gl4/gl4_gpu-private.h" #include "xenia/gpu/gl4/gl4_gpu-private.h"

View File

@ -9,6 +9,8 @@
#include "xenia/gpu/gl4/gl4_graphics_system.h" #include "xenia/gpu/gl4/gl4_graphics_system.h"
#include <cstring>
#include "xenia/base/clock.h" #include "xenia/base/clock.h"
#include "xenia/base/logging.h" #include "xenia/base/logging.h"
#include "xenia/base/threading.h" #include "xenia/base/threading.h"

View File

@ -9,6 +9,8 @@
#include "xenia/gpu/gl4/texture_cache.h" #include "xenia/gpu/gl4/texture_cache.h"
#include <cstring>
#include "xenia/base/assert.h" #include "xenia/base/assert.h"
#include "xenia/base/logging.h" #include "xenia/base/logging.h"
#include "xenia/base/math.h" #include "xenia/base/math.h"

View File

@ -9,6 +9,8 @@
#include "xenia/gpu/register_file.h" #include "xenia/gpu/register_file.h"
#include <cstring>
#include "xenia/base/math.h" #include "xenia/base/math.h"
namespace xe { namespace xe {

View File

@ -9,6 +9,8 @@
#include "xenia/gpu/shader.h" #include "xenia/gpu/shader.h"
#include <cstring>
#include "xenia/base/math.h" #include "xenia/base/math.h"
#include "xenia/base/memory.h" #include "xenia/base/memory.h"
#include "xenia/gpu/ucode_disassembler.h" #include "xenia/gpu/ucode_disassembler.h"

View File

@ -9,6 +9,8 @@
#include "xenia/gpu/texture_info.h" #include "xenia/gpu/texture_info.h"
#include <cstring>
#include "third_party/xxhash/xxhash.h" #include "third_party/xxhash/xxhash.h"
#include "xenia/base/math.h" #include "xenia/base/math.h"

View File

@ -8,6 +8,7 @@
*/ */
#include <gflags/gflags.h> #include <gflags/gflags.h>
#include <cstring>
#include "third_party/imgui/imgui.h" #include "third_party/imgui/imgui.h"

View File

@ -10,6 +10,7 @@
#include "xenia/kernel/object_table.h" #include "xenia/kernel/object_table.h"
#include <algorithm> #include <algorithm>
#include <cstring>
#include "xenia/kernel/xobject.h" #include "xenia/kernel/xobject.h"
#include "xenia/kernel/objects/xthread.h" #include "xenia/kernel/objects/xthread.h"

View File

@ -10,6 +10,7 @@
#ifndef XENIA_KERNEL_XBOXKRNL_XENUMERATOR_H_ #ifndef XENIA_KERNEL_XBOXKRNL_XENUMERATOR_H_
#define XENIA_KERNEL_XBOXKRNL_XENUMERATOR_H_ #define XENIA_KERNEL_XBOXKRNL_XENUMERATOR_H_
#include <cstring>
#include <vector> #include <vector>
#include "xenia/kernel/xobject.h" #include "xenia/kernel/xobject.h"

View File

@ -9,6 +9,8 @@
#include "xenia/kernel/objects/xthread.h" #include "xenia/kernel/objects/xthread.h"
#include <cstring>
#include <gflags/gflags.h> #include <gflags/gflags.h>
#include "xenia/base/clock.h" #include "xenia/base/clock.h"

View File

@ -10,6 +10,8 @@
#ifndef XENIA_KERNEL_UTIL_SHIM_UTILS_H_ #ifndef XENIA_KERNEL_UTIL_SHIM_UTILS_H_
#define XENIA_KERNEL_UTIL_SHIM_UTILS_H_ #define XENIA_KERNEL_UTIL_SHIM_UTILS_H_
#include <cstring>
#include "xenia/base/byte_order.h" #include "xenia/base/byte_order.h"
#include "xenia/base/memory.h" #include "xenia/base/memory.h"
#include "xenia/base/string_buffer.h" #include "xenia/base/string_buffer.h"

View File

@ -10,6 +10,7 @@
#include "xenia/kernel/util/xex2.h" #include "xenia/kernel/util/xex2.h"
#include <algorithm> #include <algorithm>
#include <cstring>
#include <vector> #include <vector>
#include <gflags/gflags.h> #include <gflags/gflags.h>

View File

@ -10,6 +10,8 @@
#define _WINSOCK_DEPRECATED_NO_WARNINGS // inet_addr #define _WINSOCK_DEPRECATED_NO_WARNINGS // inet_addr
#include <winsock2.h> #include <winsock2.h>
#include <cstring>
#include "xenia/base/clock.h" #include "xenia/base/clock.h"
#include "xenia/base/logging.h" #include "xenia/base/logging.h"
#include "xenia/kernel/kernel_state.h" #include "xenia/kernel/kernel_state.h"

View File

@ -7,6 +7,8 @@
****************************************************************************** ******************************************************************************
*/ */
#include <cstring>
#include "xenia/base/logging.h" #include "xenia/base/logging.h"
#include "xenia/kernel/kernel_state.h" #include "xenia/kernel/kernel_state.h"
#include "xenia/kernel/objects/xenumerator.h" #include "xenia/kernel/objects/xenumerator.h"

View File

@ -7,6 +7,8 @@
****************************************************************************** ******************************************************************************
*/ */
#include <cstring>
#include "xenia/apu/apu.h" #include "xenia/apu/apu.h"
#include "xenia/base/logging.h" #include "xenia/base/logging.h"
#include "xenia/emulator.h" #include "xenia/emulator.h"

View File

@ -7,6 +7,8 @@
****************************************************************************** ******************************************************************************
*/ */
#include <cstring>
#include "xenia/base/logging.h" #include "xenia/base/logging.h"
#include "xenia/base/math.h" #include "xenia/base/math.h"
#include "xenia/kernel/kernel_state.h" #include "xenia/kernel/kernel_state.h"

View File

@ -7,6 +7,7 @@
****************************************************************************** ******************************************************************************
*/ */
#include <cstring>
#include <iomanip> #include <iomanip>
#include <sstream> #include <sstream>

View File

@ -12,6 +12,7 @@
#include <gflags/gflags.h> #include <gflags/gflags.h>
#include <algorithm> #include <algorithm>
#include <cstring>
#include <mutex> #include <mutex>
#include "xenia/base/clock.h" #include "xenia/base/clock.h"

View File

@ -9,6 +9,7 @@
#include "xenia/ui/win32/win32_window.h" #include "xenia/ui/win32/win32_window.h"
#include <cstring>
#include <dwmapi.h> #include <dwmapi.h>
#include <tpcshrd.h> #include <tpcshrd.h>
#include <windowsx.h> #include <windowsx.h>