Fix building against old glib versions
We need to include libglnx.h in places where ostree-autocleanups.h is included, so that we get backports of G_DEFINE_AUTOPTR_CLEANUP_FUNC and friends. Closes: #1615 Approved by: jlebon
This commit is contained in:
1 parent
1d830c1792
commit
6ea21696a3
4 files changed
+4
No files matched your search
@@ -29,6 +29,7 @@
|
||||
#include <avahi-common/strlst.h>
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
#include <libglnx.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "ostree-autocleanups.h"
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
#include <gio/gio.h>
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
#include <libglnx.h>
|
||||
|
||||
#include "ostree-autocleanups.h"
|
||||
#include "ostree-repo-finder.h"
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <gio/gio.h>
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
#include <libglnx.h>
|
||||
|
||||
#include "ostree-autocleanups.h"
|
||||
#include "ostree-core.h"
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <gio/gio.h>
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
#include <libglnx.h>
|
||||
#include <locale.h>
|
||||
|
||||
#include "ostree-autocleanups.h"
|
||||
|
||||
Reference in new issue
Block a user