mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-02 20:08:29 +00:00
u/trace_marker: Make sure to include headers outside of extern block
This commit is contained in:
parent
c57160d4e5
commit
c2c49cb6d3
|
@ -16,6 +16,10 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef XRT_FEATURE_TRACING
|
||||
#include <percetto.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -63,7 +67,6 @@ u_tracer_maker_init(enum u_trace_which which);
|
|||
#error "Need to have Percetto/Perfetto"
|
||||
#endif
|
||||
|
||||
#include <percetto.h>
|
||||
|
||||
|
||||
#define U_TRACE_CATEGORIES(C, G) \
|
||||
|
|
Loading…
Reference in a new issue