mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
Fix platform check
Include <QtGlobal> which defines Q_OS_* before the check, otherwise it may (and does on FreeBSD) work incorrectly
This commit is contained in:
parent
75e18f17ff
commit
9fcf8e677f
2
src/lib/3rdparty/processinfo.h
vendored
2
src/lib/3rdparty/processinfo.h
vendored
@ -18,6 +18,8 @@
|
|||||||
#ifndef PROCESSINFO_H
|
#ifndef PROCESSINFO_H
|
||||||
#define PROCESSINFO_H
|
#define PROCESSINFO_H
|
||||||
|
|
||||||
|
#include <QtGlobal>
|
||||||
|
|
||||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
|
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user