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:
Colin Walters 2021-02-10 17:42:42 +00:00 committed by OpenShift Merge Robot
parent f065c0dd32
commit 20178bb25a
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@
#pragma once
#include <gio/gio.h>
#include <libdnf/libdnf.h>
#include "libglnx.h"

View File

@ -21,6 +21,7 @@
#pragma once
#include <gio/gio.h>
#include <libdnf/libdnf.h>
#include "libglnx.h"