summaryrefslogtreecommitdiff
path: root/source4/include/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include/includes.h')
-rw-r--r--source4/include/includes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index 8b20ee9b4f..d29353cafc 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -1068,5 +1068,7 @@ time_t timegm(struct tm *tm);
#include <sys/xattr.h>
#endif
+#define discard_const_p(type, ptr) (type *)discard_const(ptr)
+
#endif /* _INCLUDES_H */