[gjs: 2/7] maint: Fix includes




commit d4a5752b5e54edd650e95c0091d2d86695723505
Author: Philip Chimento <philip chimento gmail com>
Date:   Wed May 26 13:22:06 2021 -0700

    maint: Fix includes

 gjs/gjs_pch.hh         | 1 +
 gjs/profiler-private.h | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gjs/gjs_pch.hh b/gjs/gjs_pch.hh
index 86d83153..6dcda429 100644
--- a/gjs/gjs_pch.hh
+++ b/gjs/gjs_pch.hh
@@ -75,6 +75,7 @@
 #include <js/Initialization.h>
 #include <js/MemoryFunctions.h>
 #include <js/Modules.h>
+#include <js/ProfilingCategory.h>
 #include <js/ProfilingStack.h>
 #include <js/Promise.h>
 #include <js/PropertyDescriptor.h>
diff --git a/gjs/profiler-private.h b/gjs/profiler-private.h
index 53487ffb..d68048db 100644
--- a/gjs/profiler-private.h
+++ b/gjs/profiler-private.h
@@ -7,11 +7,12 @@
 
 #include <stdint.h>
 
+#include <js/ProfilingCategory.h>
 #include <js/ProfilingStack.h>
 #include <js/RootingAPI.h>
+#include <js/TypeDecls.h>
 
 #include "gjs/context.h"
-#include "gjs/macros.h"
 #include "gjs/profiler.h"
 
 class AutoProfilerLabel {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]