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:
parent
f8dc856aa9
commit
8a1b2f3739
@ -20,6 +20,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <gio/gio.h>
|
||||
#include <libdnf/libdnf.h>
|
||||
|
||||
#include "rust/cxx.h"
|
||||
|
Loading…
Reference in New Issue
Block a user