Skip to content


Fix platform check
Browse files Browse the repository at this point in the history
Include <QtGlobal> which defines Q_OS_* before the check, otherwise it may (and does on FreeBSD) work incorrectly
  • Loading branch information
AMDmi3 committed Sep 26, 2014
1 parent 75e18f1 commit 9fcf8e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/3rdparty/processinfo.h
Expand Up @@ -18,6 +18,8 @@

#include <QtGlobal>

#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
#include <sys/types.h>
Expand Down

0 comments on commit 9fcf8e6

Please sign in to comment.