summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/certmap/sss_certmap.c4
-rw-r--r--src/lib/certmap/sss_certmap_krb5_match.c2
-rw-r--r--src/providers/krb5/krb5_child.c1
-rw-r--r--src/providers/ldap/sdap_async_users.c2
-rw-r--r--src/tests/sysdb-tests.c1
-rw-r--r--src/util/domain_info_utils.c1
-rw-r--r--src/util/nscd.c1
-rw-r--r--src/util/sss_krb5.c1
-rw-r--r--src/util/util.h1
9 files changed, 13 insertions, 1 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"
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
index 7e56b8ff7..58abf2118 100644
--- a/src/providers/krb5/krb5_child.c
+++ b/src/providers/krb5/krb5_child.c
@@ -26,6 +26,7 @@
#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <ctype.h>
#include <popt.h>
#include <security/pam_modules.h>
diff --git a/src/providers/ldap/sdap_async_users.c b/src/providers/ldap/sdap_async_users.c
index 265cd7e4f..09d096e84 100644
--- a/src/providers/ldap/sdap_async_users.c
+++ b/src/providers/ldap/sdap_async_users.c
@@ -21,6 +21,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <ctype.h>
+
#include "util/util.h"
#include "util/probes.h"
#include "db/sysdb.h"
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c
index 6ec82ce4c..c186ed2fb 100644
--- a/src/tests/sysdb-tests.c
+++ b/src/tests/sysdb-tests.c
@@ -23,6 +23,7 @@
#include <check.h>
#include <talloc.h>
#include <tevent.h>
+#include <ctype.h>
#include <popt.h>
#include <sys/stat.h>
#include <sys/types.h>
diff --git a/src/util/domain_info_utils.c b/src/util/domain_info_utils.c
index 541058a16..46375656c 100644
--- a/src/util/domain_info_utils.c
+++ b/src/util/domain_info_utils.c
@@ -18,6 +18,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <ctype.h>
#include <utime.h>
#include "confdb/confdb.h"
diff --git a/src/util/nscd.c b/src/util/nscd.c
index ab29f3d27..5c72847c1 100644
--- a/src/util/nscd.c
+++ b/src/util/nscd.c
@@ -21,6 +21,7 @@
#include "config.h"
+#include <ctype.h>
#include <stdio.h>
#include <talloc.h>
#include <stdlib.h>
diff --git a/src/util/sss_krb5.c b/src/util/sss_krb5.c
index a3f066e8a..a702a8b57 100644
--- a/src/util/sss_krb5.c
+++ b/src/util/sss_krb5.c
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <ctype.h>
#include <stdio.h>
#include <errno.h>
#include <talloc.h>
diff --git a/src/util/util.h b/src/util/util.h
index abaeebd11..a19591293 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -25,7 +25,6 @@
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
-#include <ctype.h>
#include <libintl.h>
#include <limits.h>
#include <locale.h>