There is no need to include sys/ucred.h. Only sys/file.h is needed for the
authorclaudio <claudio@openbsd.org>
Sun, 21 Jun 2015 12:11:13 +0000 (12:11 +0000)
committerclaudio <claudio@openbsd.org>
Sun, 21 Jun 2015 12:11:13 +0000 (12:11 +0000)
DTYPE defines.

usr.bin/netstat/inet.c

index b6ee63c..2c0e46d 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: inet.c,v 1.142 2015/04/16 19:24:13 markus Exp $       */
+/*     $OpenBSD: inet.c,v 1.143 2015/06/21 12:11:13 claudio Exp $      */
 /*     $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $        */
 
 /*
@@ -37,7 +37,6 @@
 #include <sys/protosw.h>
 #include <sys/sysctl.h>
 #define _KERNEL
-#include <sys/ucred.h>
 #include <sys/file.h>
 #undef _KERNEL