mirror of
https://github.com/libvirt/libvirt.git
synced 2026-07-29 15:54:48 -05:00
virfile: Provide stub for virFileInData
Some older systems (such as RHEL6) lack SEEK_HOLE and SEEK_DATA which virFileInData relies on. Provide a stub for these systems. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
@@ -352,6 +352,11 @@ AC_CHECK_DECLS([ETH_FLAG_TXVLAN, ETH_FLAG_NTUPLE, ETH_FLAG_RXHASH, ETH_FLAG_LRO,
|
||||
[], [], [[#include <linux/ethtool.h>
|
||||
]])
|
||||
|
||||
AC_CHECK_DECLS([SEEK_HOLE], [], [],
|
||||
[#include <sys/types.h>
|
||||
#include <unistd.h>])
|
||||
|
||||
|
||||
dnl Our only use of libtasn1.h is in the testsuite, and can be skipped
|
||||
dnl if the header is not present. Assume -ltasn1 is present if the
|
||||
dnl header could be found.
|
||||
|
||||
Reference in New Issue
Block a user