mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
configure: fix detection for xattr.h on modern distributions
Modern distributions place xattr.h in /usr/include/sys, and fold libattr.so into libc. They also don't have an ENOATTR. Make configure detect this, and add a qemu-xattr.h file that directs the #include to the right place. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
1bf6ccd372
commit
4f26f2b6f2
7 changed files with 45 additions and 7 deletions
|
|
@ -71,7 +71,7 @@ int __clone2(int (*fn)(void *), void *child_stack_base,
|
|||
#include <sys/epoll.h>
|
||||
#endif
|
||||
#ifdef CONFIG_ATTR
|
||||
#include <attr/xattr.h>
|
||||
#include "qemu-xattr.h"
|
||||
#endif
|
||||
|
||||
#define termios host_termios
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue