Commit 977c983b authored by Thiago Macieira's avatar Thiago Macieira Committed by Daniel Teske

Fix build on Unix.

sleep(3) is defined on unistd.h, so you need to include it.

/home/thiago/src/qt/creator/src/plugins/android/androidconfigurations.cpp(556): error: identifier "sleep" is undefined

Change-Id: I71c76bd7f085240d9e3ceaad1ac062387cf7c838
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 5807f04c
......@@ -52,6 +52,8 @@
#include <iostream>
#include <windows.h>
#define sleep(_n) Sleep(1000 * (_n))
#else
#include <unistd.h>
#endif
using namespace Utils;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment