diff options
-rw-r--r-- | Python/getopt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/getopt.c b/Python/getopt.c index 91aaa28..5175e0a 100644 --- a/Python/getopt.c +++ b/Python/getopt.c @@ -40,10 +40,14 @@ int optind = 1; /* index into argv array */ char * optarg = NULL; /* optional argument */ +#ifndef __BEOS__ int getopt(argc,argv,optstring) int argc; char *argv[]; char optstring[]; +#else +int getopt( int argc, char *const *argv, const char *optstring ) +#endif { static char *opt_ptr = ""; register char *ptr; |