mirror of
git://git.suckless.org/surf
synced 2025-03-03 03:57:44 +00:00
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: 665a709b52
("webext: Exchange fd over webkit messages")
This commit is contained in:
parent
665a709b52
commit
e9b7ec6722
1
surf.c
1
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>
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <gio/gio.h>
|
||||
#include <gio/gunixfdlist.h>
|
||||
#include <webkit2/webkit-web-extension.h>
|
||||
#include <webkitdom/webkitdom.h>
|
||||
#include <webkitdom/WebKitDOMDOMWindowUnstable.h>
|
||||
|
Loading…
Reference in New Issue
Block a user