[gjs: 3/10] maint: Fix IWYU warnings
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 3/10] maint: Fix IWYU warnings
- Date: Sat, 13 Mar 2021 20:23:11 +0000 (UTC)
commit b2984e17107d6a137faaedc109b3299261419e9a
Author: Philip Chimento <philip chimento gmail com>
Date: Fri Mar 12 12:26:52 2021 -0800
maint: Fix IWYU warnings
Running IWYU on the whole codebase popped up a few warnings that had
somehow gotten in during this development cycle.
gi/arg.cpp | 1 +
gi/enumeration.cpp | 1 +
gi/param.cpp | 1 +
3 files changed, 3 insertions(+)
---
diff --git a/gi/arg.cpp b/gi/arg.cpp
index 23620448..4574f98c 100644
--- a/gi/arg.cpp
+++ b/gi/arg.cpp
@@ -5,6 +5,7 @@
#include <config.h>
+#include <stdint.h>
#include <string.h> // for strcmp, strlen, memcpy
#include <string>
diff --git a/gi/enumeration.cpp b/gi/enumeration.cpp
index b3ae6f3c..117bfc3e 100644
--- a/gi/enumeration.cpp
+++ b/gi/enumeration.cpp
@@ -12,6 +12,7 @@
#include <js/TypeDecls.h>
#include <jsapi.h> // for JS_DefineProperty, JS_NewPlainObject
+#include "gi/cwrapper.h"
#include "gi/enumeration.h"
#include "gi/wrapperutils.h"
#include "gjs/jsapi-util.h"
diff --git a/gi/param.cpp b/gi/param.cpp
index 5a404eea..29d2e6f0 100644
--- a/gi/param.cpp
+++ b/gi/param.cpp
@@ -15,6 +15,7 @@
#include <jsapi.h> // for JS_GetClass, JS_GetPropertyById
#include <jspubtd.h> // for JSProto_TypeError
+#include "gi/cwrapper.h"
#include "gi/function.h"
#include "gi/param.h"
#include "gi/repo.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]