Add missing includes.

This commit is contained in:
Bartosz Taudul 2022-04-26 21:23:22 +02:00
parent 1a94929780
commit 066c266df9
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
10 changed files with 24 additions and 0 deletions

View File

@ -1,4 +1,14 @@
#include <atomic>
#include <assert.h>
#include <errno.h> #include <errno.h>
#include <linux/perf_event.h>
#include <stdint.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <unistd.h>
#include "TracyDebug.hpp"
namespace tracy namespace tracy
{ {

View File

@ -618,6 +618,7 @@ void SysTraceGetExternalName( uint64_t thread, const char*& threadName, const ch
# elif defined __linux__ # elif defined __linux__
# include <cpuid.h>
# include <sys/types.h> # include <sys/types.h>
# include <sys/stat.h> # include <sys/stat.h>
# include <sys/wait.h> # include <sys/wait.h>

View File

@ -1,6 +1,7 @@
#ifndef __TRACYQUEUE_HPP__ #ifndef __TRACYQUEUE_HPP__
#define __TRACYQUEUE_HPP__ #define __TRACYQUEUE_HPP__
#include <stddef.h>
#include <stdint.h> #include <stdint.h>
namespace tracy namespace tracy

View File

@ -2,6 +2,7 @@
#define __TRACYSOCKET_HPP__ #define __TRACYSOCKET_HPP__
#include <atomic> #include <atomic>
#include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include "TracyForceInline.hpp" #include "TracyForceInline.hpp"

View File

@ -1,6 +1,8 @@
#ifndef __TRACYFILEHEADER_HPP__ #ifndef __TRACYFILEHEADER_HPP__
#define __TRACYFILEHEADER_HPP__ #define __TRACYFILEHEADER_HPP__
#include <stdint.h>
#include "../common/TracyForceInline.hpp" #include "../common/TracyForceInline.hpp"
namespace tracy namespace tracy

View File

@ -24,6 +24,9 @@
# include <stdio.h> # include <stdio.h>
#endif #endif
#include <stdint.h>
#include <string.h>
#include "../common/TracyForceInline.hpp" #include "../common/TracyForceInline.hpp"
namespace tracy namespace tracy

View File

@ -2,9 +2,11 @@
#define __TRACYSLAB_HPP__ #define __TRACYSLAB_HPP__
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <vector> #include <vector>
#include "TracyMemory.hpp" #include "TracyMemory.hpp"
#include "../common/TracyForceInline.hpp"
namespace tracy namespace tracy
{ {

View File

@ -5,6 +5,8 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <imgui.h>
#include "tracy_robin_hood.h" #include "tracy_robin_hood.h"
#include "TracyCharUtil.hpp" #include "TracyCharUtil.hpp"
#include "TracyDecayValue.hpp" #include "TracyDecayValue.hpp"

View File

@ -4,6 +4,7 @@
#include "../common/TracyForceInline.hpp" #include "../common/TracyForceInline.hpp"
#include "tracy_robin_hood.h" #include "tracy_robin_hood.h"
#include "TracyCharUtil.hpp" #include "TracyCharUtil.hpp"
#include "TracyEvent.hpp"
#include "TracyVector.hpp" #include "TracyVector.hpp"
namespace tracy namespace tracy

View File

@ -5,6 +5,7 @@
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include "TracySlab.hpp" #include "TracySlab.hpp"