Commit c751ad2b authored by Bradley T. Hughes's avatar Bradley T. Hughes Committed by Eike Ziller

Compile with clang's libc++

When using clang's libc++, unistd.h is not pulled in automatically
anymore (like libstdc++ does). Include unistd.h on UNIX explicitly
instead.

Change-Id: I21dae6ab2446aca258877e9a2ebe1f7d0a4ef59f
Reviewed-by: default avatarKonstantin Tokarev <annulen@yandex.ru>
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 80400626
......@@ -46,6 +46,10 @@
#include <errno.h>
#include <limits>
#include <signal.h>
#ifdef Q_OS_UNIX
// for select()
# include <unistd.h>
#endif
#include <QAtomicPointer>
#include <QCoreApplication>
......
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