QQmlTrace: getpid() requires unistd.h
authorShawn Rutledge <shawn.rutledge@digia.com>
Thu, 13 Jun 2013 15:07:38 +0000 (17:07 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 25 Jun 2013 20:52:45 +0000 (22:52 +0200)
commit78a33f71002428526da9c67bedb2567f0e9715b2
tree393a01b51f9c2917697aea589567bde80dc9320a
parentac06540d7aa0df2f6ceea0b82db724a2216d1b8c
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>
src/qml/qml/ftw/qqmltrace.cpp