diff options
author | Simon McVittie <smcv@collabora.com> | 2017-10-27 14:41:31 +0100 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-10-27 18:54:11 +0000 |
commit | 74e00d32be0122728b722ce97a07542864f87cbb (patch) | |
tree | 26d3cc21d8923540762ad77b7a6fd7cfd9bef248 | |
parent | 90ebd48f6aaf45c47b48c44354359f973dcf22a8 (diff) | |
download | ostree-74e00d32be0122728b722ce97a07542864f87cbb.tar.gz |
ostree-system-generator: Include <libglnx.h> for autocleanups
g_autoptr was new in GLib 2.44, but we officially only require 2.40,
so we need to use the backport in libglnx.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Closes: #1310
Approved by: cgwalters
-rw-r--r-- | src/switchroot/ostree-system-generator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/switchroot/ostree-system-generator.c b/src/switchroot/ostree-system-generator.c index 5665d715..f42d679a 100644 --- a/src/switchroot/ostree-system-generator.c +++ b/src/switchroot/ostree-system-generator.c @@ -25,6 +25,8 @@ #include <fcntl.h> #include <stdlib.h> +#include <libglnx.h> + #include "ostree-cmdprivate.h" #include "ostree-mount-util.h" |