svn commit: r196976 - head/lib/libc/net

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Sep 8 15:58:56 UTC 2009


On Tue, Sep 08, 2009 at 03:18:25PM +0000, Poul-Henning Kamp wrote:
> Author: phk
> Date: Tue Sep  8 15:18:25 2009
> New Revision: 196976
> URL: http://svn.freebsd.org/changeset/base/196976
> 
> Log:
>   Add necessary include
> 
> Modified:
>   head/lib/libc/net/getifaddrs.c
> 
> Modified: head/lib/libc/net/getifaddrs.c
> ==============================================================================
> --- head/lib/libc/net/getifaddrs.c	Tue Sep  8 15:13:49 2009	(r196975)
> +++ head/lib/libc/net/getifaddrs.c	Tue Sep  8 15:18:25 2009	(r196976)
> @@ -33,6 +33,7 @@
>  __FBSDID("$FreeBSD$");
>  
>  #include "namespace.h"
> +#include <sys/param.h>
>  #include <sys/types.h>

style(9) seems to advice to include either types.h or param.h, but not both.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20090908/507410a2/attachment-0001.pgp


More information about the svn-src-head mailing list