This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Why include header file <sys/_types.h> in <stddef.h> for FreeBSD >= 5 ?
- From: Zachary Jude <zacharyjude at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 2 May 2013 18:32:44 +0800
- Subject: Why include header file <sys/_types.h> in <stddef.h> for FreeBSD >= 5 ?
Hello,
I'm figuring out the code in
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/include/stddef.h,
and I saw the macro switch below:
#if defined (__FreeBSD__) && (__FreeBSD__ >= 5)
#include <sys/_types.h>
#endif
I have gone through all the <sys/_types>、<sys/cdefs.h> and
<i386/include/_types.h> source files for the whole 5.X.X version of
FreeBSD, and still can't find anything may affect the behavior of code
below that macro switch in <stddef.h>.
Can someone please help in figuring out this ?
Thanks in advance.
--
Zachary