]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix build for platforms lacking struct ifreq
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 1 Dec 2011 13:31:18 +0000 (13:31 +0000)
committerEric Blake <eblake@redhat.com>
Thu, 1 Dec 2011 18:01:49 +0000 (11:01 -0700)
commit949e10911a23ea002519b2038f1bfeb251c06b9a
treea8317186199080bb6bf2f50e02dce53fc4fec508
parent55d76a7270871512276d0c699d75b8f7fc918af7
Fix build for platforms lacking struct ifreq

This ought to fix the build if you have net/if.h but do
not have struct ifreq

* configure.ac: Check for struct ifreq in net/if.h
* src/util/virnetdev.c: Conditionalize to avoid use of
  struct ifreq if it does not exist
configure.ac
src/util/virnetdev.c