summaryrefslogtreecommitdiffstats
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-03-20 18:29:52 +0000
committerdelphij <delphij@FreeBSD.org>2009-03-20 18:29:52 +0000
commita78a8edecd6b534fd5e463b357b6f56a69c063c8 (patch)
tree71b2392cf1972cd490a1d6edfe14ccef59012230 /usr.bin/kdump
parentb1f84dee06746b2fdc126cb9ed44bb2ec8824d0e (diff)
downloadFreeBSD-src-a78a8edecd6b534fd5e463b357b6f56a69c063c8.zip
FreeBSD-src-a78a8edecd6b534fd5e463b357b6f56a69c063c8.tar.gz
Add two missing include files and prototype for sockfamilyname()
which is generated by mksubr.
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/kdump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 079d272..3d8b93a 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -67,7 +67,9 @@ extern int errno;
#ifdef NETATALK
#include <netatalk/at.h>
#endif
+#include <arpa/inet.h>
#include <netinet/in.h>
+#include <ctype.h>
#include <dlfcn.h>
#include <err.h>
#include <grp.h>
@@ -98,6 +100,7 @@ void ktrsockaddr(struct sockaddr *);
void ktrstat(struct stat *);
void ktrstruct(char *, size_t);
void usage(void);
+void sockfamilyname(int);
const char *ioctlname(u_long);
int timestamp, decimal, fancy = 1, suppressdata, tail, threads, maxdata,
OpenPOWER on IntegriCloud