libdnf-sys: Include gio.h before libdnf.h

See b77f710cfb

Alternative fix to rpm-software-management/libdnf#1139
aka https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1935

This way libdnf's `extern "C"` over the glib headers doesn't apply
because we already processed that header.
This commit is contained in:
Colin Walters 2021-02-17 16:41:20 +00:00 committed by OpenShift Merge Robot
parent f8dc856aa9
commit 8a1b2f3739

View File

@ -20,6 +20,7 @@
#pragma once
#include <gio/gio.h>
#include <libdnf/libdnf.h>
#include "rust/cxx.h"