| Submitter | Gerald Pfeifer |
|---|---|
| Date | Feb. 12, 2012, 1:09 a.m. |
| Message ID | <alpine.LNX.2.00.1202120207290.5509@gerinyyl.fvgr> |
| Download | mbox | patch |
| Permalink | /patch/140797/ |
| State | New |
| Headers | show |
Comments
El 12 de febrer de 2012 1:09, Gerald Pfeifer <gerald@pfeifer.com> ha escrit: > Given that both Mike and me considered this patch on the obvious > side, I now committed the following variation thereof on trunk. Thanks!
Patch
Index: ginclude/stddef.h =================================================================== --- ginclude/stddef.h (revision 184130) +++ ginclude/stddef.h (working copy) @@ -200,8 +200,9 @@ #define ___int_size_t_h #define _GCC_SIZE_T #define _SIZET_ -#if defined (__FreeBSD__) && (__FreeBSD__ >= 5) -/* __size_t is a typedef on FreeBSD 5!, must not trash it. */ +#if (defined (__FreeBSD__) && (__FreeBSD__ >= 5)) \ + || defined(__FreeBSD_kernel__) +/* __size_t is a typedef on FreeBSD 5, must not trash it. */ #else #define __size_t #endif