On Mon, Aug 3, 2009 at 4:56 PM, Alex Zimnitsky<[email protected]> wrote: > Hello, freebsd-hackers > > my system is 7.2-RELEASE > > there is a <sys/cdefs.h> which is included in a lot of headers, but a > few of them instead of including it, generate "#error this file needs > sys/cdefs.h". > > seems like an omission, but if it's intentional I'm curious why it is > so.
Those files are not intended to be directly included by user programs. You usually include them indirectly. See, for instance, pthread.h and stddef.h. -- My preferred quotation of Robert Louis Stevenson is "You cannot make an omelette without breaking eggs". Not because I like the omelettes, but because I like the sound of eggs being broken. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[email protected]"

