mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-24 02:32:09 +08:00
ping: corrected argument get to work with rtems.
This commit is contained in:
parent
cb5035400c
commit
240093f3ce
@ -295,6 +295,10 @@ main(argc, argv)
|
||||
unsigned char loop, mttl;
|
||||
#ifdef __rtems__
|
||||
struct getopt_data getopt_reent;
|
||||
#define optarg getopt_reent.optarg
|
||||
#define optind getopt_reent.optind
|
||||
#define opterr getopt.reent.opterr
|
||||
#define optopt getopt.reent.optopt
|
||||
#endif
|
||||
|
||||
payload = source = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user