Index: code/tools/lcc/cpp/getopt.c =================================================================== --- code/tools/lcc/cpp/getopt.c (revision 1325) +++ code/tools/lcc/cpp/getopt.c (working copy) @@ -8,7 +8,7 @@ char *optarg; int -getopt (int argc, char *const argv[], const char *opts) +Q_getopt (int argc, char *const argv[], const char *opts) { static int sp = 1; int c; Index: code/tools/lcc/cpp/unix.c =================================================================== --- code/tools/lcc/cpp/unix.c (revision 1325) +++ code/tools/lcc/cpp/unix.c (working copy) @@ -4,7 +4,7 @@ #include #include "cpp.h" -extern int getopt(int, char *const *, const char *); +extern int Q_getopt(int, char *const *, const char *); extern char *optarg, rcsid[]; extern int optind; int verbose; @@ -23,7 +23,7 @@ int numIncludeDirs = 0; setup_kwtab(); - while ((c = getopt(argc, argv, "MNOVv+I:D:U:F:lg")) != -1) + while ((c = Q_getopt(argc, argv, "MNOVv+I:D:U:F:lg")) != -1) switch (c) { case 'N': for (i=0; i