[v1.05] Move sysctl from ARM-specific to common (#251)

This commit is contained in:
Dr-Noob
2024-07-07 12:43:03 +01:00
parent 946729dd06
commit 65378aaed9
5 changed files with 6 additions and 6 deletions

View File

@@ -10,7 +10,7 @@
#include <asm/hwcap.h>
#include "../common/freq.h"
#elif defined __APPLE__ || __MACH__
#include "sysctl.h"
#include "../common/sysctl.h"
#endif
#include "../common/global.h"

View File

@@ -11,7 +11,7 @@
#include "../common/pci.h"
#if defined(__APPLE__) || defined(__MACH__)
#include "sysctl.h"
#include "../common/sysctl.h"
#endif
#define NA -1

View File

@@ -4,8 +4,8 @@
#include <string.h>
#include <errno.h>
#include "../common/global.h"
#include "../common/cpu.h"
#include "global.h"
#include "cpu.h"
uint32_t get_sys_info_by_name(char* name) {
size_t size = 0;