summaryrefslogtreecommitdiffstats
path: root/freebsd/usr.bin/netstat/if.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-30 14:20:34 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-31 13:18:54 +0100
commita400e1d849f9cbbdd5c89762088ee3245ee4d236 (patch)
tree37774af270c25c04267b4f13435a84b18263f8b6 /freebsd/usr.bin/netstat/if.c
parentMALLOC(9): Return valid pointer for malloc(0), etc. (diff)
downloadrtems-libbsd-a400e1d849f9cbbdd5c89762088ee3245ee4d236.tar.bz2
NETSTAT(1): Wrap exit(), etc.
Diffstat (limited to 'freebsd/usr.bin/netstat/if.c')
-rw-r--r--freebsd/usr.bin/netstat/if.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/freebsd/usr.bin/netstat/if.c b/freebsd/usr.bin/netstat/if.c
index f5b1f380..aaf1fd88 100644
--- a/freebsd/usr.bin/netstat/if.c
+++ b/freebsd/usr.bin/netstat/if.c
@@ -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$");