diff options
Diffstat (limited to 'facetracknoir')
-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(); |