summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-gpg-verifier.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2016-07-04 10:31:27 +0000
committerAtomic Bot <atomic-devel@projectatomic.io>2016-07-04 15:25:20 +0000
commit9df846559a8e7364ac710e6f5250f7f2001a37ea (patch)
treeca2f546bb56be35109e1c8d7a558fb59b411d629 /src/libostree/ostree-gpg-verifier.c
parentcbca341a7710dd2db887090f61dbd03cc08a36e7 (diff)
downloadostree-9df846559a8e7364ac710e6f5250f7f2001a37ea.tar.gz
libostree: Fix build failure with glib 2.42
G_DEFINE_AUTOPTR_CLEANUP_FUNC is a new function in GLib 2.44, but libglnx contains a backported version of it. A few source files were however using G_DEFINE_AUTOPTR_CLEANUP_FUNC either without including libglnx.h, or without including it early enough. This fix is similar to the one in commit d368624. Closes #376 Closes: #377 Approved by: smcv
Diffstat (limited to 'src/libostree/ostree-gpg-verifier.c')
-rw-r--r--src/libostree/ostree-gpg-verifier.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libostree/ostree-gpg-verifier.c b/src/libostree/ostree-gpg-verifier.c
index 0ec0b515..d487507f 100644
--- a/src/libostree/ostree-gpg-verifier.c
+++ b/src/libostree/ostree-gpg-verifier.c
@@ -23,6 +23,7 @@
#include "config.h"
+#include "libglnx.h"
#include "ostree-gpg-verifier.h"
#include "ostree-gpg-verify-result-private.h"
#include "otutil.h"