aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-04 06:02:22 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-04 07:00:26 -0300
commit3cada8d74f6a4e82538bc17923f27bd3e03f4e8e (patch)
tree082ce856ccbbad8f5f1617992a71797459551ea5 /src/support.h
parentab49eda5720583b0470a329434554e97c735e696 (diff)
Centralize include for gtk 2
With gtk 2, a function prototyle is declared on a wrong way. Depending on the gcc flags, this will produce an error: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes] So, move gtk.h include to v4l.h and ensure that this warning is disabled when including it. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'src/support.h')
-rw-r--r--src/support.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/support.h b/src/support.h
index 63fab01..8545271 100644
--- a/src/support.h
+++ b/src/support.h
@@ -1,2 +1,4 @@
+#include "v4l.h"
+
GtkWidget *xpm_label_box (gchar *);
int error_dialog (char *);

Privacy Policy