Skip site navigation (1)Skip section navigation (2)
Date:      08 May 2002 03:46:10 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Andy Sporner <sporner@nentec.de>
Cc:        aaron <aaron@lo-res.org>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: /usr/include/netinet/in.h
Message-ID:  <xzpn0vbh0nx.fsf@flood.ping.uio.no>
In-Reply-To: <3CD7FEE4.3090709@nentec.de>
References:  <200205071814.46995.aaron@lo-res.org> <3CD7FEE4.3090709@nentec.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Andy Sporner <sporner@nentec.de> writes:
> Maybe it's just me, but I always include the fundamental .h files first, so
> usually in this order (more or less):
> 
> #include <sys/param.h>
> #include <sys/types.h>

<sys/param.h> includes <sys/types.h>, so you need one *or* the other
but not both.  Whichever you choose (depending on your needs) should
always come first.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpn0vbh0nx.fsf>