From e9b7ec6722545a5a41f7d28d7fa873453b636aa0 Mon Sep 17 00:00:00 2001 From: Petr Vaněk Date: Fri, 21 Oct 2022 16:36:14 +0200 Subject: webext: add missing gio/gunixfdlist.h includes This resolves two set of warnings pointed by compiler -Wimplicit-function-declaration and -Wint-conversion, where the later one can result with segfault caused by invalid cast from int to pointer. Fixes: 665a709b522a ("webext: Exchange fd over webkit messages") --- surf.c | 1 + webext-surf.c | 1 + 2 files changed, 2 insertions(+) diff --git a/surf.c b/surf.c index 001f776..9ae5c2d 100644 --- a/surf.c +++ b/surf.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/webext-surf.c b/webext-surf.c index 69fd04b..d2753b5 100644 --- a/webext-surf.c +++ b/webext-surf.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include -- cgit v1.2.3