svn commit: r190168 - head/usr.bin/kdump

Xin LI delphij at FreeBSD.org
Fri Mar 20 11:29:53 PDT 2009


Author: delphij
Date: Fri Mar 20 18:29:52 2009
New Revision: 190168
URL: http://svn.freebsd.org/changeset/base/190168

Log:
  Add two missing include files and prototype for sockfamilyname()
  which is generated by mksubr.

Modified:
  head/usr.bin/kdump/kdump.c

Modified: head/usr.bin/kdump/kdump.c
==============================================================================
--- head/usr.bin/kdump/kdump.c	Fri Mar 20 18:04:20 2009	(r190167)
+++ head/usr.bin/kdump/kdump.c	Fri Mar 20 18:29:52 2009	(r190168)
@@ -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,


More information about the svn-src-head mailing list