summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2017-05-29 14:01:10 +0200
committerJakub Hrozek <jhrozek@redhat.com>2017-06-08 17:09:57 +0200
commit96e1794db6915a655d97ecab7ab71ad53d1f527b (patch)
tree840d996a679bfdc3acebdc12339fa8b8b1cf892a /src/lib
parent92b2a4023c06c613d4576f70cda820ba79750f56 (diff)
downloadsssd-96e1794db6915a655d97ecab7ab71ad53d1f527b.tar.gz
sssd-96e1794db6915a655d97ecab7ab71ad53d1f527b.tar.xz
sssd-96e1794db6915a655d97ecab7ab71ad53d1f527b.zip
UTIL: Remove ctype.h from util/util.h
ctype.h is not used directly by util/util.h. The header file ctype.h must be included in 32 files and after removing it from util.h it had to be added only to 8 missing files Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/certmap/sss_certmap.c4
-rw-r--r--src/lib/certmap/sss_certmap_krb5_match.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/certmap/sss_certmap.c b/src/lib/certmap/sss_certmap.c
index 080cab8ab..37bbc5e7c 100644
--- a/src/lib/certmap/sss_certmap.c
+++ b/src/lib/certmap/sss_certmap.c
@@ -22,6 +22,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
+
+#include <ctype.h>
+
#include "util/util.h"
#include "util/cert.h"
#include "util/crypto/sss_crypto.h"
diff --git a/src/lib/certmap/sss_certmap_krb5_match.c b/src/lib/certmap/sss_certmap_krb5_match.c
index e40f17b8a..fe5e5bd2e 100644
--- a/src/lib/certmap/sss_certmap_krb5_match.c
+++ b/src/lib/certmap/sss_certmap_krb5_match.c
@@ -22,6 +22,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <ctype.h>
+
#include "util/util.h"
#include "util/cert.h"
#include "util/crypto/sss_crypto.h"