summaryrefslogtreecommitdiff
path: root/src/libotutil/ot-unix-utils.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-10-26 14:10:20 -0400
committerColin Walters <walters@verbum.org>2011-10-26 14:12:13 -0400
commit03943c659f70f01daf2d6ab8d6029086269ac582 (patch)
tree22bfa239b61a78117de46c5927642d4fc37eb9e9 /src/libotutil/ot-unix-utils.c
parent37bea9f29d50e00e53ca6d0f755340f1347179f8 (diff)
downloadostree-03943c659f70f01daf2d6ab8d6029086269ac582.tar.gz
Drop glib requrirement to 2.28
This lets it build on more currently-released systems like Fedora 15.
Diffstat (limited to 'src/libotutil/ot-unix-utils.c')
-rw-r--r--src/libotutil/ot-unix-utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libotutil/ot-unix-utils.c b/src/libotutil/ot-unix-utils.c
index 95cdb8d6..e1e89725 100644
--- a/src/libotutil/ot-unix-utils.c
+++ b/src/libotutil/ot-unix-utils.c
@@ -23,7 +23,6 @@
#include "ot-unix-utils.h"
-#include <glib-unix.h>
#include <gio/gio.h>
#include <gio/gunixoutputstream.h>
@@ -205,7 +204,7 @@ ot_util_set_error_from_errno (GError **error,
gint saved_errno)
{
g_set_error_literal (error,
- G_UNIX_ERROR,
+ G_IO_ERROR,
0,
g_strerror (saved_errno));
errno = saved_errno;