aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/ftw
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2013-06-13 17:07:38 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-25 22:52:45 +0200
commit78a33f71002428526da9c67bedb2567f0e9715b2 (patch)
tree393a01b51f9c2917697aea589567bde80dc9320a /src/qml/qml/ftw
parentac06540d7aa0df2f6ceea0b82db724a2216d1b8c (diff)
QQmlTrace: getpid() requires unistd.h
Doesn't build on MacOS if you omit this include and uncomment define QML_ENABLE_TRACE in qqmltrace_p.h Change-Id: I78ed43b16a006699449202dd234e43be2f7b84fd Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'src/qml/qml/ftw')
-rw-r--r--src/qml/qml/ftw/qqmltrace.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/ftw/qqmltrace.cpp b/src/qml/qml/ftw/qqmltrace.cpp
index 98f86dad32..9bf58c245c 100644
--- a/src/qml/qml/ftw/qqmltrace.cpp
+++ b/src/qml/qml/ftw/qqmltrace.cpp
@@ -43,6 +43,7 @@
#ifdef QML_ENABLE_TRACE
#include <stdio.h>
+#include <unistd.h>
#endif
QT_BEGIN_NAMESPACE