ports/graphics/opencv/files/patch-modules__highgui__src__window_QT.cpp
Jason E. Hale e496edf8b6 - Fix typos in EIGEN option
- Fix build with modern compilers in the contrib module [1]
- Fix build of opencv-core with clang in the ts module [2]
- Fix build with QT option [3]
- Fix build of py-opencv with clang [4]

Reported by:	avg [1], Robert Huff <roberthuff@rcn.com> [2]
PR:		ports/182443 [3], ports/182837 [4]
Submitted by:	O. Hartmann <ohartman@zedat.fu-berlin.de> [3], pawel [4]
2013-10-22 22:03:28 +00:00

11 lines
286 B
C++

--- ./modules/highgui/src/window_QT.cpp.orig 2013-10-22 11:01:57.000000000 -0400
+++ ./modules/highgui/src/window_QT.cpp 2013-10-22 11:03:10.000000000 -0400
@@ -46,6 +46,8 @@
#ifdef _WIN32
#include <windows.h>
#define usleep Sleep
+#else
+#include <unistd.h>
#endif
#ifndef M_PI