OSDN Git Service

qemu-ga: check if utmpx.h is available on the system
authorTomáš Golembiovský <tgolembi@redhat.com>
Mon, 17 Jul 2017 13:58:33 +0000 (15:58 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 18 Jul 2017 00:10:09 +0000 (19:10 -0500)
commite674605f9821a275e3ed87ce9accc835d565b753
tree4990d07583fae99f8d716eb03c9caf44f6fcf95a
parentf2dce827f55a9b76ca7b2fc60b976b4760fc9eb1
qemu-ga: check if utmpx.h is available on the system

Commit 161a56a9065 added command guest-get-users and requires the
utmpx.h (defined by POSIX) to work. It is however not always available
(e.g. on OpenBSD) therefor a check for its existence is necessary.

Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
configure
qga/commands-posix.c