summaryrefslogtreecommitdiffstats
path: root/src/responder
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2017-05-27 19:07:41 +0200
committerJakub Hrozek <jhrozek@redhat.com>2017-06-08 17:09:36 +0200
commit8890a30f5d054187fd7d5b50503f82a49cd025f0 (patch)
treed159182557253571faea184c02332d298611e3f5 /src/responder
parent91141c6ae6e6a255cfd66266581671ddd16086b3 (diff)
downloadsssd-8890a30f5d054187fd7d5b50503f82a49cd025f0.tar.gz
sssd-8890a30f5d054187fd7d5b50503f82a49cd025f0.tar.xz
sssd-8890a30f5d054187fd7d5b50503f82a49cd025f0.zip
UTIL: Remove fcntl.h from util/util.h
fcntl.h is not used directly by util/util.h. The header file fcntl.h must be included in 49 files and after removing it from util.h it had to be added only to 7 missing file which were using either directly syscall fcntl or syscall open. Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Diffstat (limited to 'src/responder')
-rw-r--r--src/responder/common/responder_common.c1
-rw-r--r--src/responder/secrets/local.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/responder/common/responder_common.c b/src/responder/common/responder_common.c
index 9d4889be6..f81448e1f 100644
--- a/src/responder/common/responder_common.c
+++ b/src/responder/common/responder_common.c
@@ -29,6 +29,7 @@
#include <string.h>
#include <sys/time.h>
#include <errno.h>
+#include <fcntl.h>
#include <popt.h>
#include <dbus/dbus.h>
diff --git a/src/responder/secrets/local.c b/src/responder/secrets/local.c
index 02007ada8..66401ef50 100644
--- a/src/responder/secrets/local.c
+++ b/src/responder/secrets/local.c
@@ -22,6 +22,8 @@
#include "responder/secrets/secsrv_private.h"
#include "util/crypto/sss_crypto.h"
#include <time.h>
+#include <sys/stat.h>
+#include <fcntl.h>
#include <ldb.h>
#define MKEY_SIZE (256 / 8)