diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-21 19:42:56 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-21 21:41:36 +0200 |
commit | a33dcb5dc4edca8d34d7778a6b1ddf867e6a4590 (patch) | |
tree | 54591553855e33b5944c571482416bb2b9691aa9 /facetracknoir/facetracknoir.cpp | |
parent | 8e2aba0a468c189a6eb733fe3fab5b7889abb7ba (diff) |
reorder access(2) header for clarity
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r-- | facetracknoir/facetracknoir.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp index ea857462..5f4a4e11 100644 --- a/facetracknoir/facetracknoir.cpp +++ b/facetracknoir/facetracknoir.cpp @@ -27,7 +27,6 @@ #include "curve-config.h" #include <QFileDialog> - #if defined(__APPLE__) # define SONAME "dylib" #elif defined(_WIN32) @@ -44,10 +43,6 @@ # define LIB_PREFIX "lib" #endif -#if defined(__unix) || defined(__linux) || defined(__APPLE__) -# include <unistd.h> -#endif - static bool get_metadata(DynamicLibrary* lib, QString& longName, QIcon& icon) { Metadata* meta; @@ -211,6 +206,10 @@ void FaceTrackNoIR::save_mappings() { } } +#if defined(__unix) || defined(__linux) || defined(__APPLE__) +# include <unistd.h> +#endif + void FaceTrackNoIR::save() { b->save(); save_mappings(); |