diff options
Diffstat (limited to 'src/tests/TestLink.cpp')
-rw-r--r-- | src/tests/TestLink.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/TestLink.cpp b/src/tests/TestLink.cpp index 470cbe928..9249f9315 100644 --- a/src/tests/TestLink.cpp +++ b/src/tests/TestLink.cpp @@ -8,11 +8,11 @@ #include <QtCore> -#ifdef WIN32 -#include <windows.h> +#ifdef Q_OS_WIN +# include "win.h" #else -#include <fcntl.h> -#include <sys/mman.h> +# include <fcntl.h> +# include <sys/mman.h> #endif struct LinkedMem { |