Global: don't require sysinfo.h globally

... which is Linux specific
This commit is contained in:
李通洲
2022-12-28 17:18:08 +08:00
parent 6ff67e87eb
commit 90359d227e
14 changed files with 25 additions and 54 deletions
-4
View File
@@ -112,10 +112,6 @@ static void initState(FFstate* state)
#endif
uname(&state->utsname);
#if FF_HAVE_SYSINFO_H
sysinfo(&state->sysinfo);
#endif
initConfigDirs(state);
}