Vitaly Kuznetsov
e37f9f139f
selftests: kvm: fix build with glibc >= 2.30
Glibc-2.30 gained gettid() wrapper, selftests fail to compile:
lib/assert.c:58:14: error: static declaration of ‘gettid’ follows non-static declaration
58 | static pid_t gettid(void)
| ^~~~~~
In file included from /usr/include/unistd.h:1170,
from include/test_util.h:18,
from lib/assert.c:10:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-11-13 15:48:00 +01:00
..
2019-09-24 13:37:22 +02:00
2019-08-02 15:44:23 +02:00
2019-10-22 13:31:16 +02:00
2019-11-13 15:48:00 +01:00
2019-06-19 17:09:52 +02:00
2019-06-19 17:09:52 +02:00
2019-09-27 13:13:40 +02:00
2019-09-27 13:13:40 +02:00
2019-06-19 17:09:52 +02:00