diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-02 06:25:30 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-03 10:41:34 +0100 |
commit | 6ed4a95ce604417f53b729cc4fa6d879cc95c901 (patch) | |
tree | ceb1c2dcc47338f3f674ec3f2496c48c963a76b1 | |
parent | b9d8ae0b1bb7186b0e2e4a225b53006553406b79 (diff) |
fix win32 native build by reordering headers
-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)
|