25#ifdef HAVE_SYSTEM_GETOPT
39# if !defined __GNU_LIBRARY__
103# if (defined __STDC__ && __STDC__) || defined __cplusplus
117# define no_argument 0
118# define required_argument 1
119# define optional_argument 2
146# if (defined __STDC__ && __STDC__) || defined __cplusplus
151 extern int getopt(
int ___argc,
char*
const* ___argv,
const char* __shortopts);
156# ifndef __need_getopt
158 getopt_long(
int ___argc,
char*
const* ___argv,
const char* __shortopts,
const struct option* __longopts,
int* __longind);
160 getopt_long_only(
int ___argc,
char*
const* ___argv,
const char* __shortopts,
const struct option* __longopts,
int* __longind);
163 extern int _getopt_internal(
int ___argc,
164 char*
const* ___argv,
165 const char* __shortopts,
166 const struct option* __longopts,
172# ifndef __need_getopt
173extern int getopt_long();
174extern int getopt_long_only();
176extern int _getopt_internal();