From 7c283feb273c2df98a4b948c8f3005ae5d84c984 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Fri, 13 Oct 2017 17:13:28 +0200 Subject: Include glib-unix.h for g_unix_signal_add --- ucad.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ucad.c b/ucad.c index 7467906..07e9157 100644 --- a/ucad.c +++ b/ucad.c @@ -16,6 +16,7 @@ Franklin St, Fifth Floor, Boston, MA 02110, USA */ #include +#include #include #include #include @@ -427,7 +428,7 @@ serve (UcaCamera *camera, guint16 port, GError **error) g_signal_connect (service, "run", G_CALLBACK (run_callback), camera); loop = g_main_loop_new (NULL, TRUE); - g_unix_signal_add (SIGINT, g_main_loop_quit, loop); + g_unix_signal_add (SIGINT, (GSourceFunc) g_main_loop_quit, loop); g_main_loop_run (loop); } -- cgit v1.2.3