diff options
author | Bastien Nocera <hadess@hadess.net> | 2016-07-04 10:31:27 +0000 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2016-07-04 15:25:20 +0000 |
commit | 9df846559a8e7364ac710e6f5250f7f2001a37ea (patch) | |
tree | ca2f546bb56be35109e1c8d7a558fb59b411d629 /src/libostree/ostree-gpg-verifier.c | |
parent | cbca341a7710dd2db887090f61dbd03cc08a36e7 (diff) | |
download | ostree-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.c | 1 |
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" |