diff --git a/client/TracyCallstack.h b/client/TracyCallstack.h index 40e1ace4..e8d4eea7 100644 --- a/client/TracyCallstack.h +++ b/client/TracyCallstack.h @@ -1,6 +1,10 @@ #ifndef __TRACYCALLSTACK_H__ #define __TRACYCALLSTACK_H__ +#if !defined _WIN32 && !defined __CYGWIN__ +# include +#endif + #if defined _WIN32 || defined __CYGWIN__ # define TRACY_HAS_CALLSTACK 1 #elif defined __ANDROID__ @@ -15,7 +19,7 @@ # else # define TRACY_HAS_CALLSTACK 2 # endif -#elif defined __APPLE__ +#elif defined __APPLE__ || defined BSD # define TRACY_HAS_CALLSTACK 4 #endif