[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
|
||||
|
||||
#ifdef Q_OS_FREEBSD
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
|
||||
HostInfoJob::HostInfoJob( QObject* parent )
|
||||
|
@ -27,20 +27,20 @@
|
||||
#include <QVariantMap>
|
||||
|
||||
/** @brief the compile-time host OS
|
||||
*
|
||||
*
|
||||
* Returns "FreeBSD" or "Linux" or empty.
|
||||
*/
|
||||
QString hostOS();
|
||||
|
||||
/** @brief the run-time host OS
|
||||
*
|
||||
*
|
||||
* Returns os-release NAME information, or if that is blank or not available,
|
||||
* the same as hostOS().
|
||||
*/
|
||||
QString hostOSName();
|
||||
|
||||
/** @brief the run-time CPU architecture
|
||||
*
|
||||
*
|
||||
* Returns "Intel" or "AMD" or blank, if Calamares can determine what
|
||||
* CPU is currently in use (based on /proc/cpuinfo or hw.model).
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user