ports/graphics/opencv/files/patch-modules_highgui_src_window__gtk.cpp
Steve Wills 532105a93c graphics/opencv: Update to 3.4.1
PR:		210505
Submitted by:	rozhuk.im@gmail.com (partially, further work was done)
Exp-run by:	antoine
2018-05-09 01:10:11 +00:00

16 lines
383 B
C++

--- modules/highgui/src/window_gtk.cpp.orig 2016-12-23 12:54:44 UTC
+++ modules/highgui/src/window_gtk.cpp
@@ -46,10 +46,12 @@
#if defined (HAVE_GTK)
+#include <stdio.h>
+#include <stdlib.h>
#include <gtk/gtk.h>
+#include <gdk/gdk.h>
#include <gdk/gdkkeysyms.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <stdio.h>
#if (GTK_MAJOR_VERSION == 3)
#define GTK_VERSION3 1