opnsense-ports/graphics/opencv/files/patch-modules_highgui_src_window__gtk.cpp
Franco Fichtner 75158b8ed1 */*: sync with upstream
Taken from: HardenedBSD
2018-05-08 16:43:10 +02: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