aboutsummaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2022-10-21 16:36:14 +0200
committerQuentin Rameau <quinq@fifth.space>2022-10-22 13:07:19 +0200
commite9b7ec6722545a5a41f7d28d7fa873453b636aa0 (patch)
tree776842440aa2a87db5a856a1d23224cf4c9daa8b /surf.c
parent665a709b522a6fa18c671f1fc41297603292d0e8 (diff)
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")
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/surf.c b/surf.c
index 001f776..9ae5c2d 100644
--- a/surf.c
+++ b/surf.c
@@ -21,6 +21,7 @@
#include <gdk/gdk.h>
#include <gdk/gdkkeysyms.h>
#include <gdk/gdkx.h>
+#include <gio/gunixfdlist.h>
#include <glib/gstdio.h>
#include <gtk/gtk.h>
#include <gtk/gtkx.h>