diff options
author | delphij <delphij@FreeBSD.org> | 2009-03-20 18:29:52 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-03-20 18:29:52 +0000 |
commit | a78a8edecd6b534fd5e463b357b6f56a69c063c8 (patch) | |
tree | 71b2392cf1972cd490a1d6edfe14ccef59012230 /usr.bin/kdump | |
parent | b1f84dee06746b2fdc126cb9ed44bb2ec8824d0e (diff) | |
download | FreeBSD-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.c | 3 |
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, |