svn commit: r211122 - projects/sv/sys/netinet

Attilio Rao attilio at FreeBSD.org
Mon Aug 9 22:22:06 UTC 2010


Author: attilio
Date: Mon Aug  9 22:22:06 2010
New Revision: 211122
URL: http://svn.freebsd.org/changeset/base/211122

Log:
  As long as this header can be included from userland, include
  sys/types.h in order to avoid further inclusion from there.

Modified:
  projects/sv/sys/netinet/netdump.h

Modified: projects/sv/sys/netinet/netdump.h
==============================================================================
--- projects/sv/sys/netinet/netdump.h	Mon Aug  9 22:19:22 2010	(r211121)
+++ projects/sv/sys/netinet/netdump.h	Mon Aug  9 22:22:06 2010	(r211122)
@@ -31,6 +31,8 @@
 #ifndef _NETINET_NETDUMP_H_
 #define _NETINET_NETDUMP_H_
 
+#include <sys/types.h>
+
 #define	NETDUMP_PORT		20023	/* Server udp port number for data. */
 #define	NETDUMP_ACKPORT		20024	/* Client udp port number for acks. */
 


More information about the svn-src-projects mailing list