summaryrefslogtreecommitdiff
path: root/shells/pdksh/files/sh.h
diff options
context:
space:
mode:
Diffstat (limited to 'shells/pdksh/files/sh.h')
-rw-r--r--shells/pdksh/files/sh.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/shells/pdksh/files/sh.h b/shells/pdksh/files/sh.h
index 77c0338de5e..1448dabd6d4 100644
--- a/shells/pdksh/files/sh.h
+++ b/shells/pdksh/files/sh.h
@@ -1,10 +1,10 @@
-/* $NetBSD: sh.h,v 1.3 2008/05/31 16:47:37 tnn Exp $ */
+/* $NetBSD: sh.h,v 1.4 2008/06/15 14:20:09 tnn Exp $ */
/*
* Public Domain Bourne/Korn shell
*/
-/* $Id: sh.h,v 1.3 2008/05/31 16:47:37 tnn Exp $ */
+/* $Id: sh.h,v 1.4 2008/06/15 14:20:09 tnn Exp $ */
#include "config.h" /* system and option configuration info */
@@ -733,3 +733,8 @@ EXTERN int x_cols I__(80); /* tty columns */
# undef EXTERN
#endif
#undef I__
+
+#ifdef __UNCONST
+#undef __UNCONST
+#endif
+#define __UNCONST(a) ((void *)(unsigned long)(const void *)(a))