diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-08-01 15:28:40 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-02 03:36:24 +0200 |
commit | cf7a2850cd1faa38c601a2dd1037d5f89efcef89 (patch) | |
tree | 48d23745fd17333d64a17ecd57e3003c8c779b7e | |
parent | e93b218da641d81f69da9f3542c5fb1639e3d0f7 (diff) |
getpid is declared in unistd.h
The getpid call isn't protected by any #ifdefs, so I'm not adding any
to the include of unistd.h. I'm assuming that this code is only
enabled on Unix systems anyway.
Change-Id: Ia50fe405f4be6bf52e8f2a01e1c21dfdb2eb48d2
Reviewed-by: abcd <amos.choy@nokia.com>
-rw-r--r-- | tests/auto/qplacemanager_jsondb/jsondbutils.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qplacemanager_jsondb/jsondbutils.cpp b/tests/auto/qplacemanager_jsondb/jsondbutils.cpp index d2a41c0a..71950b97 100644 --- a/tests/auto/qplacemanager_jsondb/jsondbutils.cpp +++ b/tests/auto/qplacemanager_jsondb/jsondbutils.cpp @@ -55,6 +55,9 @@ #include <QSignalSpy> #include <QUuid> +#include <sys/types.h> +#include <unistd.h> + #ifndef WAIT_UNTIL #define WAIT_UNTIL(__expr) \ do { \ |