ping: corrected argument get to work with rtems.

This commit is contained in:
Jennifer Averett 2012-10-24 15:02:37 -05:00
parent cb5035400c
commit 240093f3ce

View File

@ -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;