mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
From 45aa80195204329c1fb6f0fd1c8e8142618da604 Mon Sep 17 00:00:00 2001
|
|
From: Marko Myllynen <myllynen@redhat.com>
|
|
Date: Wed, 21 Sep 2011 15:03:55 +0300
|
|
Subject: [PATCH] include <stdint.h> for uintptr_t
|
|
|
|
---
|
|
daemons/ipa-slapi-plugins/common/util.h | 1 +
|
|
ipa-client/ipa-client-common.h | 1 +
|
|
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 8804fbe..eb3ddc0 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 b738fb4..e831c59 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
|
|
--
|
|
1.7.4.1
|
|
|