qemu-thread-posix: Fix build against older glibc version
commit01207d0b78208c2f49c3f457d6794eea215d5be7
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 11 Mar 2014 15:49:23 +0000 (11 16:49 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 11 Mar 2014 18:19:21 +0000 (11 18:19 +0000)
tree7ceea557132ee566ee9a2e9496d0c94ac6369c55
parent0ca540dbaea142ec5c3e7a1d12db7139b8317f37
qemu-thread-posix: Fix build against older glibc version

pthread_setname_np was introduced with 2.12.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
util/qemu-thread-posix.c