Skip to content

Commit 9fcf8e6

Browse files
committed
Fix platform check
Include <QtGlobal> which defines Q_OS_* before the check, otherwise it may (and does on FreeBSD) work incorrectly
1 parent 75e18f1 commit 9fcf8e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/3rdparty/processinfo.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
#ifndef PROCESSINFO_H
1919
#define PROCESSINFO_H
2020

21+
#include <QtGlobal>
22+
2123
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
2224
#include <sys/types.h>
2325
#endif

0 commit comments

Comments
 (0)