1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +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:
Dmitry Marakasov 2014-09-26 23:18:56 +04:00
parent 75e18f17ff
commit 9fcf8e677f

View File

@ -18,6 +18,8 @@
#ifndef PROCESSINFO_H
#define PROCESSINFO_H
#include <QtGlobal>
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
#include <sys/types.h>
#endif