mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-16 10:50:43 +03:00
lib: Fix building against old glib versions
This commit includes libglnx.h in ostree-autocleanups.h, so we get the g_autoptr backports wherever they're needed. Also, remove the "#include libglnx.h" lines elsewhere that are no longer needed. Closes: #1596 Approved by: cgwalters
This commit is contained in:
parent
f200efdb8a
commit
f1d9196076
@ -24,6 +24,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <ostree.h>
|
||||
#include <libglnx.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include <gio/gio.h>
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
#include <libglnx.h>
|
||||
|
||||
#include "ostree-autocleanups.h"
|
||||
#include "ostree-core.h"
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include <gio/gio.h>
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
#include <libglnx.h>
|
||||
|
||||
#include "ostree-autocleanups.h"
|
||||
#include "ostree-remote-private.h"
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include <gio/gunixmounts.h>
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
#include <libglnx.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "ostree-autocleanups.h"
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include <gio/gio.h>
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
#include <libglnx.h>
|
||||
|
||||
#include "ostree-autocleanups.h"
|
||||
#include "ostree-remote-private.h"
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include <gio/gunixinputstream.h>
|
||||
#include <gio/gunixoutputstream.h>
|
||||
#include <gio/gfiledescriptorbased.h>
|
||||
#include "libglnx.h"
|
||||
#include "otutil.h"
|
||||
#include <glnx-console.h>
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include <gio/gio.h>
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
#include <libglnx.h>
|
||||
#include <locale.h>
|
||||
|
||||
#include "libostreetest.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user