diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-02 06:25:30 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-02 06:25:30 +0100 |
commit | 63e130f42c2ad329aba3da9e3121323914fac3fc (patch) | |
tree | 66888c57984c1380acc586663af15da1515daf26 /FTNoIR_Tracker_PT | |
parent | 53d7258c0151893e95f569cf7f9386d269618672 (diff) |
fix win32 native build by reordering headers
Diffstat (limited to 'FTNoIR_Tracker_PT')
-rw-r--r-- | FTNoIR_Tracker_PT/camera.cpp | 10 |
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)
|