[gjs: 2/6] maint: Always include config.h
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 2/6] maint: Always include config.h
- Date: Sun, 28 Nov 2021 00:06:53 +0000 (UTC)
commit 2420f5b95530979aa87983a2b4ba91d503684197
Author: Philip Chimento <philip chimento gmail com>
Date: Sat Oct 9 12:59:10 2021 -0700
maint: Always include config.h
In some cases, this prevented these headers from being analyzed standalone
since DEBUG is necessary for including any SpiderMonkey headers.
gi/arg-types-inl.h | 2 ++
gi/js-value-inl.h | 2 ++
gi/utils-inl.h | 2 ++
gjs/enum-utils.h | 2 ++
4 files changed, 8 insertions(+)
---
diff --git a/gi/arg-types-inl.h b/gi/arg-types-inl.h
index 3111ca6d..ca70ba17 100644
--- a/gi/arg-types-inl.h
+++ b/gi/arg-types-inl.h
@@ -4,6 +4,8 @@
#pragma once
+#include <config.h>
+
#include <stdint.h>
#include <girepository.h>
diff --git a/gi/js-value-inl.h b/gi/js-value-inl.h
index a23d9c63..cbe1807a 100644
--- a/gi/js-value-inl.h
+++ b/gi/js-value-inl.h
@@ -4,6 +4,8 @@
#pragma once
+#include <config.h>
+
#include <stdint.h>
#include <limits>
#include <type_traits>
diff --git a/gi/utils-inl.h b/gi/utils-inl.h
index a8155bcd..4806c673 100644
--- a/gi/utils-inl.h
+++ b/gi/utils-inl.h
@@ -4,6 +4,8 @@
#pragma once
+#include <config.h>
+
#include <stdint.h>
#include <type_traits> // IWYU pragma: keep
diff --git a/gjs/enum-utils.h b/gjs/enum-utils.h
index 2fc4524e..c096f414 100644
--- a/gjs/enum-utils.h
+++ b/gjs/enum-utils.h
@@ -4,6 +4,8 @@
#pragma once
+#include <config.h>
+
#include <type_traits>
namespace GjsEnum {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]