summaryrefslogtreecommitdiffstats
path: root/src/util/io.c
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-03-16 15:11:10 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-03-18 14:20:33 +0100
commit3a4186ae40d0c3b7be46a4c973166f6048fcfe38 (patch)
tree686c814a96a259ca22f58448bbdcd869cc8f62c5 /src/util/io.c
parent57a6554d8863363c041905607e44459f792225c7 (diff)
downloadsssd-3a4186ae40d0c3b7be46a4c973166f6048fcfe38.tar.gz
sssd-3a4186ae40d0c3b7be46a4c973166f6048fcfe38.tar.xz
sssd-3a4186ae40d0c3b7be46a4c973166f6048fcfe38.zip
Fix sss_client breakage.
Adding missing dependencies for linker. Missing dependency was introduced by commit 22d381367c27910fe82f476a76b9f4ede555e35a in changed file src/sss_client/nss_mc_common.c All function declaration for io.c was moved from util.h to separate file io.h, https://fedorahosted.org/sssd/ticket/1838
Diffstat (limited to 'src/util/io.c')
-rw-r--r--src/util/io.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/util/io.c b/src/util/io.c
index e07a18c56..4d1f2e74a 100644
--- a/src/util/io.c
+++ b/src/util/io.c
@@ -24,8 +24,14 @@
#include <unistd.h>
#include <fcntl.h>
+#include <errno.h>
-#include "util/util.h"
+#include "util/io.h"
+
+/* CAUTION:
+ * This file have to be minimalist and cannot include DEBUG macros
+ * or header file util.h.
+ */
int sss_open_cloexec(const char *pathname, int flags, int *ret)
{