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>
#include <rpc/rpc.h>
#include "internal.h"
-#include "configmake.h"
#include "datatypes.h"
+#include "configmake.h"
+
#include "viralloc.h"
#include "virlog.h"
#include "virnetclient.h"