NETSTAT(1): Wrap exit(), etc.

This commit is contained in:
Sebastian Huber 2013-10-30 14:20:34 +01:00
parent 9fd69c14ab
commit a400e1d849
2 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,9 @@ static char sccsid[] = "@(#)if.c 8.3 (Berkeley) 4/28/95";
#endif /* not lint */
#endif
#ifdef __rtems__
#include <machine/rtems-bsd-program.h>
#endif /* __rtems__ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

View File

@ -46,6 +46,8 @@ static char sccsid[] = "@(#)main.c 8.4 (Berkeley) 3/1/94";
#ifdef __rtems__
#define __need_getopt_newlib
#include <getopt.h>
#include <machine/rtems-bsd-program.h>
#include <machine/rtems-bsd-commands.h>
#endif /* __rtems__ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");