[hostinfo] Fix build on FreeBSD (include order)
- while here apply coding style again
This commit is contained in:
parent
5c7acdeb44
commit
cec84ee42b
@ -31,8 +31,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef Q_OS_FREEBSD
|
#ifdef Q_OS_FREEBSD
|
||||||
#include <sys/sysctl.h>
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#include <sys/sysctl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
HostInfoJob::HostInfoJob( QObject* parent )
|
HostInfoJob::HostInfoJob( QObject* parent )
|
||||||
|
@ -27,20 +27,20 @@
|
|||||||
#include <QVariantMap>
|
#include <QVariantMap>
|
||||||
|
|
||||||
/** @brief the compile-time host OS
|
/** @brief the compile-time host OS
|
||||||
*
|
*
|
||||||
* Returns "FreeBSD" or "Linux" or empty.
|
* Returns "FreeBSD" or "Linux" or empty.
|
||||||
*/
|
*/
|
||||||
QString hostOS();
|
QString hostOS();
|
||||||
|
|
||||||
/** @brief the run-time host OS
|
/** @brief the run-time host OS
|
||||||
*
|
*
|
||||||
* Returns os-release NAME information, or if that is blank or not available,
|
* Returns os-release NAME information, or if that is blank or not available,
|
||||||
* the same as hostOS().
|
* the same as hostOS().
|
||||||
*/
|
*/
|
||||||
QString hostOSName();
|
QString hostOSName();
|
||||||
|
|
||||||
/** @brief the run-time CPU architecture
|
/** @brief the run-time CPU architecture
|
||||||
*
|
*
|
||||||
* Returns "Intel" or "AMD" or blank, if Calamares can determine what
|
* Returns "Intel" or "AMD" or blank, if Calamares can determine what
|
||||||
* CPU is currently in use (based on /proc/cpuinfo or hw.model).
|
* CPU is currently in use (based on /proc/cpuinfo or hw.model).
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user