Sigh.

Greg Steuck <[email protected]> wrote:

> "Theo de Raadt" <[email protected]> writes:
> 
> > Can you dig deeper into why?
> 
> The easiest reproducer is to compile a file with a single
> #include <sys/syslog.h>
> 
> > Should syslog.h be pulling in sys/_types.h instead of machine/_types.h?
> 
> Neither of them seems to have the magic define, unlike the 13
> unobviously chosen places in /usr/include which have:
> 
> #ifndef _SIZE_T_DEFINED_
> #define _SIZE_T_DEFINED_
> typedef __size_t      size_t;
> #endif
> 
> Should I replicate this block into sys/syslog.h? That fixes the problem
> but clearly one can never tell what's gonna break with system include
> files.
> 
> Thanks
> Greg

Reply via email to