#include "fping.h"
#include "options.h"
-/* if compiling for Windows, use this separate set
- (too difficult to ifdef all the autoconf defines) */
-#ifdef WIN32
-
-/*** Windows includes ***/
-
-
-#else
-
/*** autoconf includes ***/
#include <netdb.h>
#include <ctype.h>
-/* RS6000 hasn't getopt.h */
-#ifdef HAVE_GETOPT_H
#include <getopt.h>
-#endif /* HAVE_GETOPT_H */
-/* RS6000 has sys/select.h */
-#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
-#endif /* HAVE_SYS_SELECT_H */
-
-#endif /* WIN32 */
/*** externals ***/
break;
case 'b':
- if (!sscanf(optarg,"%i",&ping_data_size))
+ if (!sscanf(optarg,"%u",&ping_data_size))
usage(1);
break;