]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add missing #includes.
authorEd Schouten <ed@FreeBSD.org>
Fri, 21 Oct 2011 12:58:34 +0000 (12:58 +0000)
committerEd Schouten <ed@FreeBSD.org>
Fri, 21 Oct 2011 12:58:34 +0000 (12:58 +0000)
commitcf05e311ea4a7924f6530caab574060fa78d661b
treeb83ec9de6e77f2e1d9573396deae5f5b824ae53f
parentb6b8562bfc8114da5b39db8444854389fcec77be
Add missing #includes.

According to POSIX, these two header files should be able to be included
by themselves, not depending on other headers. The <net/if.h> header
uses struct sockaddr when __BSD_VISIBLE=1, while <netinet/tcp.h> uses
integer datatypes (u_int32_t, u_short, etc).

MFC after: 2 months
sys/net/if.h
sys/netinet/tcp.h