Fix building P2P code against old glib versions

When building the OstreeBloom code against old versions of glib, we have
to have the libglnx headers included so that it defines
G_DEFINE_AUTOPTR_CLEANUP_FUNC and friends for us.

This is similarly true for test-repo-finder-mount.c which indirectly
includes ostree-autocleanups.h.

Closes: #1605
Approved by: cgwalters
This commit is contained in:
Matthew Leeds 2018-05-28 18:03:42 -07:00 committed by Atomic Bot
parent 6ec19a6953
commit f31087137e
2 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,8 @@
#include <glib.h>
#include <glib-object.h>
#include "libglnx.h"
G_BEGIN_DECLS
/**

View File

@ -27,6 +27,7 @@
#include <gio/gio.h>
#include <glib.h>
#include <glib-object.h>
#include <libglnx.h>
#include <locale.h>
#include "libostreetest.h"