tree-wide: Include GLib headers before libdnf
Alternative fix to https://github.com/rpm-software-management/libdnf/pull/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
f065c0dd32
commit
20178bb25a
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <gio/gio.h>
|
||||||
#include <libdnf/libdnf.h>
|
#include <libdnf/libdnf.h>
|
||||||
#include "libglnx.h"
|
#include "libglnx.h"
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <gio/gio.h>
|
||||||
#include <libdnf/libdnf.h>
|
#include <libdnf/libdnf.h>
|
||||||
#include "libglnx.h"
|
#include "libglnx.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user