raw socket programming SOLVED

Peter Pentchev roam at ringlet.net
Mon Jul 7 08:22:20 PDT 2003


On Mon, Jul 07, 2003 at 10:09:05AM -0500, David A. Gobeille wrote:
[snip]
> 
> Shouldn't the #included files themselves #include headers they are 
> dependant on?  With the use of #ifndef and #define in the headers to 
> keep them from being #included more than once?
> 
> It seems silly(more work) for the programmer to have to arrange 
> everything in a specific order.

Search the list archives for 'promiscuous includes'; I believe this
has been discussed time and again over the years :)

G'luck,
Peter

-- 
Peter Pentchev	roam at ringlet.net    roam at sbnd.net    roam at FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence would be seven words long if it were six words shorter.
-------------- 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/freebsd-hackers/attachments/20030707/ddbba0c0/attachment.bin


More information about the freebsd-hackers mailing list