mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Update processinfo.h
Cleanup the includes: QtGlobal is not needed - already pulled in by qzcommon.h QString not needed, already pulled in by qzcommon.h Move the qzcommon include before the ifdefs This is a change that has been getting used when building QupZilla on FreeBSD for several years now and works fine.
This commit is contained in:
parent
626e8c5f8a
commit
c75324f379
6
src/lib/3rdparty/processinfo.h
vendored
6
src/lib/3rdparty/processinfo.h
vendored
@ -18,16 +18,12 @@
|
||||
#ifndef PROCESSINFO_H
|
||||
#define PROCESSINFO_H
|
||||
|
||||
#include <QtGlobal>
|
||||
#include "qzcommon.h"
|
||||
|
||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#include <QString>
|
||||
|
||||
#include "qzcommon.h"
|
||||
|
||||
/*
|
||||
* Code used from http://ubuntuforums.org/showpost.php?p=6593782&postcount=5
|
||||
* written by user WitchCraft
|
||||
|
Loading…
Reference in New Issue
Block a user