summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daemons/ipa-slapi-plugins/common/util.h1
-rw-r--r--ipa-client/ipa-client-common.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/daemons/ipa-slapi-plugins/common/util.h b/daemons/ipa-slapi-plugins/common/util.h
index 8804fbebe..eb3ddc0b9 100644
--- a/daemons/ipa-slapi-plugins/common/util.h
+++ b/daemons/ipa-slapi-plugins/common/util.h
@@ -40,6 +40,7 @@
#define EOK 0
#define EFAIL -1
+#include <stdint.h>
#ifndef discard_const
#define discard_const(ptr) ((void *)((uintptr_t)(ptr)))
#endif
diff --git a/ipa-client/ipa-client-common.h b/ipa-client/ipa-client-common.h
index b738fb4a5..e831c596c 100644
--- a/ipa-client/ipa-client-common.h
+++ b/ipa-client/ipa-client-common.h
@@ -23,6 +23,7 @@
#include <libintl.h>
#define _(STRING) gettext(STRING)
+#include <stdint.h>
#ifndef discard_const
#define discard_const(ptr) ((void *)((uintptr_t)(ptr)))
#endif