Fritz Heinrichmeyer wrote:
>
> as i accidentally deleted my libc.so.3 i thought it would be a good time
> to rebuild xfree, but i came in a preprocessor hell due to siginfo_t
> _POSIX_SOURCE or not ... definition at the stage of building makedepend.
> In file included from main.c:41:
> /usr/include/signal.h:72: warning: `union sigval' declared inside parameter \
> list
> /usr/include/signal.h:72: warning: its scope is only this definition \
> or declaration,
> /usr/include/signal.h:72: warning: which is probably not what you want.
> /usr/include/signal.h:72: warning: parameter has incomplete type
> /usr/include/signal.h:73: syntax error before `siginfo_t'
> /usr/include/signal.h:74: syntax error before `siginfo_t'
>
> the offending code is between an #ifdef _P1003_1B_VISIBLE
> construct.
This caused by the recent namespace polution fixes. They were always
defined before that, so this was not a problem. I think you should
change
#ifdef _P1003_1B_VISIBLE
into
#ifndef _POSIX_SOURCE
for now.
--
Marcel Moolenaar mailto:[EMAIL PROTECTED]
SCC Internetworking & Databases http://www.scc.nl/
The FreeBSD project mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message