get uname.c compiling

This commit is contained in:
tehzz 2020-05-09 17:27:35 -04:00
parent 128a0675da
commit e8b66af9c9
1 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ static int relstr_to_int(const char *s)
int get_osversion(void)
{
static int osversion;
struct new_utsname buf;
struct utsname buf;
const char *s;
if (osversion)
@ -144,7 +144,7 @@ void init_qemu_uname_release(void)
* a specific fake version number, we might want to fake a minimum
* target kernel version.
*/
struct new_utsname buf;
struct utsname buf;
if (qemu_uname_release && *qemu_uname_release) {
return;