summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarko Myllynen <myllynen@redhat.com>2011-09-21 15:03:55 +0300
committerSimo Sorce <ssorce@redhat.com>2011-09-22 09:42:11 -0400
commit45aa80195204329c1fb6f0fd1c8e8142618da604 (patch)
tree84514cd7c78290abe4c3ff99148df12a53c64c54
parenta1430dcb2c8e63e3077d00878431c0698944a07d (diff)
downloadfreeipa-45aa80195204329c1fb6f0fd1c8e8142618da604.tar.gz
freeipa-45aa80195204329c1fb6f0fd1c8e8142618da604.tar.xz
freeipa-45aa80195204329c1fb6f0fd1c8e8142618da604.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 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