aboutsummaryrefslogtreecommitdiff
path: root/glob/glob.c
diff options
context:
space:
mode:
Diffstat (limited to 'glob/glob.c')
-rw-r--r--glob/glob.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/glob/glob.c b/glob/glob.c
index 9108270..e7d1579 100644
--- a/glob/glob.c
+++ b/glob/glob.c
@@ -41,6 +41,10 @@ __RCSID("$NetBSD: glob.c,v 1.35 2013/03/20 23:44:47 lukem Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
+#ifndef __UNCONST
+#define __UNCONST(a) ((void *)(unsigned long)(const void *)(a))
+#endif
+
/*
* glob(3) -- a superset of the one defined in POSIX 1003.2.
*