]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: avoid compile failure on linux kernels older than 2.6.19
authorJim Meyering <meyering@redhat.com>
Mon, 17 May 2010 14:17:08 +0000 (16:17 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 17 May 2010 14:50:36 +0000 (16:50 +0200)
commit0641f0f72c17c8ddc54cc2424aebc1929d01c01a
treea23b32c066d2f50f3c616f5e22103684e9b4aab8
parent258d59cff9e41771a5c1dcafa764cac776021c59
build: avoid compile failure on linux kernels older than 2.6.19

* configure.ac: Check for <linux/magic.h>.
* src/util/storage_file.c: Include <linux/magic.h> only if present.
Linux kernels prior to 2.6.19 lacked it.
[__linux__] (NFS_SUPER_MAGIC): Define if not already defined.
configure.ac
src/util/storage_file.c