summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-02 06:25:30 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-02 06:25:30 +0100
commit63e130f42c2ad329aba3da9e3121323914fac3fc (patch)
tree66888c57984c1380acc586663af15da1515daf26
parent53d7258c0151893e95f569cf7f9386d269618672 (diff)
fix win32 native build by reordering headers
-rw-r--r--FTNoIR_Tracker_PT/camera.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/FTNoIR_Tracker_PT/camera.cpp b/FTNoIR_Tracker_PT/camera.cpp
index 5f6db57c..754533c5 100644
--- a/FTNoIR_Tracker_PT/camera.cpp
+++ b/FTNoIR_Tracker_PT/camera.cpp
@@ -5,6 +5,11 @@
* copyright notice and this permission notice appear in all copies.
*/
+ #if defined(OPENTRACK_API) && defined(_WIN32)
+#include <windows.h>
+#include <dshow.h>
+#endif
+
#include "camera.h"
#include <string>
#include <QDebug>
@@ -15,11 +20,6 @@ using namespace cv;
#include <unistd.h>
#endif
-#if defined(OPENTRACK_API) && defined(_WIN32)
-#include <windows.h>
-#include <dshow.h>
-#endif
-
#ifdef OPENTRACK_API
void get_camera_device_names(std::vector<std::string>& device_names) {
# if defined(_WIN32)