--- src/lib/libc/stdlib/getopt_long.c 2005/02/28 13:14:56 1.8 +++ src/lib/libc/stdlib/getopt_long.c 2005/02/28 20:41:15 1.9 @@ -45,6 +45,11 @@ #include #include +/* XXX BOOTSTRAPPING */ +#ifndef __DECONST +#define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) +#endif + #ifdef REPLACE_GETOPT int opterr = 1; /* if error message should be printed */ int optind = 1; /* index into parent argv vector */