summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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)