summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarko Myllynen <myllynen@redhat.com>2011-09-21 15:03:55 +0300
committerSimo Sorce <ssorce@redhat.com>2012-01-11 12:04:13 -0500
commitd49a6c809542e276ff5f2046d8791dda90634cb7 (patch)
tree2e1f74f08640f3d3f583e14a172d807f8e45f36c
parent47aee6e7db7327bf678e7f3cc156785369fa9147 (diff)
downloadfreeipa.git-d49a6c809542e276ff5f2046d8791dda90634cb7.tar.gz
freeipa.git-d49a6c809542e276ff5f2046d8791dda90634cb7.tar.xz
freeipa.git-d49a6c809542e276ff5f2046d8791dda90634cb7.zip
include <stdint.h> for uintptr_t
-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 8804fbeb..eb3ddc0b 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 b738fb4a..e831c596 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