]> git.ipfire.org Git - thirdparty/libvirt.git/commit
admin: Fix mingw build by reordering includes
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 23 Jun 2015 11:22:15 +0000 (13:22 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 23 Jun 2015 11:22:15 +0000 (13:22 +0200)
commit976abdf66975ba9fac0947fb37f60bec477ac114
tree0d1556df626cc402f074351cd156187619d65055
parentd10a5f58c75e7eb5943b44cc36a1e768adb2cdb0
admin: Fix mingw build by reordering includes

By trying to lead the way of clean includes, I sorted the lines
alphabetically and that is a problem for mingw builds with gnulib.
As 'configmake.h' defines DATADIR and 'datatypes.h' transitively
includes 'winsock.h' that uses 'DATADIR' as a name for a struct,
it's enough to reorder those.

Even though this might be worked around in gnulib later on, this
fixes the build for now.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/libvirt-admin.c