ostree-system-generator: Include <libglnx.h> for autocleanups
authorSimon McVittie <smcv@collabora.com>
Fri, 27 Oct 2017 13:41:31 +0000 (14:41 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 27 Oct 2017 18:54:11 +0000 (18:54 +0000)
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

src/switchroot/ostree-system-generator.c

index 5665d715aaadd3bba56d82439881a0bab604d037..f42d679a10184cde049e483113ecd1eb24da5083 100644 (file)
@@ -25,6 +25,8 @@
 #include <fcntl.h>
 #include <stdlib.h>
 
+#include <libglnx.h>
+
 #include "ostree-cmdprivate.h"
 #include "ostree-mount-util.h"