build: Fix checkpoint_conf on mingw
build: Fix checkpoint_conf on mingw

CI flagged a failing mingw build, due to:
In file included from ../../src/conf/checkpoint_conf.c:24:
../gnulib/lib/configmake.h:8:17: error: expected identifier or '(' before string constant
    8 | #define DATADIR "/usr/i686-w64-mingw32/sys-root/mingw/share"
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

As previously learned in commits bd205a90 and 976abdf6, gnulib's
configmake.h header does #define DATADIR "string...", while mingw's
<winsock2.h> expects to declare a type named DATADIR. As long as the
mingw system header is included first before configmake.h, the two
uses do not conflict, but until gnulib is patched to make configmake.h
automatically work around the issue, our immediate fix is the
workaround of rearranging our include order to insure no conflict.
Copy the paradigm used in domain_conf.c of using <unistd.h> to trigger
the indirect inclusion of <winsock2.h> on mingw.

Fixes: 1a4df34a
Signed-off-by: Eric Blake <a9da18479c871fe903d9590822cfe2629c6a4d11@redhat.com>

andreabolognani/libvirt,jfehlig/libvirt,zippy2/libvirt,andreabolognani/libvirt,crobinso/libvirt,nertpinx/libvirt,nertpinx/libvirt,libvirt/libvirt,fabianfreyer/libvirt,libvirt/libvirt,libvirt/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,jardasgit/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,olafhering/libvirt,libvirt/libvirt,crobinso/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,olafhering/libvirt,jardasgit/libvirt,nertpinx/libvirt,zippy2/libvirt,andreabolognani/libvirt,crobinso/libvirt,andreabolognani/libvirt,olafhering/libvirt,zippy2/libvirt,jardasgit/libvirt,jfehlig/libvirt,nertpinx/libvirt,nertpinx/libvirt,olafhering/libvirt,jardasgit/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,zippy2/libvirt,crobinso/libvirt