tree-wide: Fix the build with old glib (Ubuntu Trusty etc.)

This regressed with <https://github.com/ostreedev/ostree/pull/1040>
but currently the Travis builds aren't gating.

Closes: #1051
Approved by: jlebon
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2017-08-03 16:23:41 +00:00
1 parent d3897e52e7
commit 4e068f3924
10 files changed
+13 -8

No files matched your search

+1
View File
@@ -21,6 +21,7 @@
#pragma once
#include <gio/gio.h>
#include "otutil.h"
G_BEGIN_DECLS
+1 -1
View File
@@ -20,9 +20,9 @@
#include "config.h"
#include "otutil.h"
#include "ostree.h"
#include "ostree-deployment-private.h"
#include "libglnx.h"
typedef GObjectClass OstreeDeploymentClass;
+1 -1
View File
@@ -25,7 +25,7 @@
#include "config.h"
#include <gio/gio.h>
#include "libglnx.h"
#include "otutil.h"
#ifdef HAVE_LIBARCHIVE
#include <archive.h>
#include <archive_entry.h>
+1 -1
View File
@@ -22,8 +22,8 @@
#include "config.h"
#include "ostree.h"
#include "otutil.h"
#include "ostree.h"
/**
* SECTION:ostree-mutable-tree
+1 -1
View File
@@ -30,13 +30,13 @@
#include <sys/xattr.h>
#include <glib/gprintf.h>
#include "otutil.h"
#include "ostree.h"
#include "ostree-core-private.h"
#include "ostree-repo-private.h"
#include "ostree-repo-file-enumerator.h"
#include "ostree-checksum-input-stream.h"
#include "ostree-varint.h"
#include "otutil.h"
gboolean
_ostree_repo_ensure_loose_objdir_at (int dfd,
+1
View File
@@ -22,6 +22,7 @@
#include "config.h"
#include "otutil.h"
#include "ostree.h"
#include "ostree-core-private.h"
#include "ostree-repo-private.h"
+1 -1
View File
@@ -21,10 +21,10 @@
#pragma once
#include <sys/statvfs.h>
#include "otutil.h"
#include "ostree-ref.h"
#include "ostree-repo.h"
#include "ostree-remote-private.h"
#include "otutil.h"
G_BEGIN_DECLS
+1 -1
View File
@@ -32,13 +32,13 @@
#include <systemd/sd-journal.h>
#endif
#include "otutil.h"
#include "ostree.h"
#include "ostree-sysroot-private.h"
#include "ostree-sepolicy-private.h"
#include "ostree-deployment-private.h"
#include "ostree-core-private.h"
#include "ostree-linuxfsutil.h"
#include "otutil.h"
#include "libglnx.h"
#define OSTREE_VARRELABEL_ID "da679b08acd34504b789d96f818ea781"
@@ -18,6 +18,7 @@
#pragma once
#include "otutil.h"
#include <gio/gio.h>
G_BEGIN_DECLS