diff options
-rw-r--r-- | facetracknoir/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/facetracknoir/main.cpp b/facetracknoir/main.cpp index 7fb37864..d8731b58 100644 --- a/facetracknoir/main.cpp +++ b/facetracknoir/main.cpp @@ -6,6 +6,8 @@ #ifndef _WIN32 # include <unistd.h> +#else +# include <windows.h> #endif int main(int argc, char** argv) @@ -37,9 +39,7 @@ int main(int argc, char** argv) w->show(); app.exec(); -#ifndef _WIN32 _exit(0); -#endif return 0; } |