From 24c7bdc3d7578fad808f2211ad334b163e57983f Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Mon, 16 Apr 2012 18:17:38 +0000 Subject: [PATCH] #1809 include unistd.h required for usleep --- modules/highgui/src/window_QT.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/highgui/src/window_QT.cpp b/modules/highgui/src/window_QT.cpp index d0eb08dd19..30bf97351f 100755 --- a/modules/highgui/src/window_QT.cpp +++ b/modules/highgui/src/window_QT.cpp @@ -49,6 +49,8 @@ #ifdef _WIN32 #include +#else +#include #endif #ifdef HAVE_QT_OPENGL