[FFmpeg-devel] Compilation broken on PPC/OS X 10.4

Måns Rullgård mans
Mon Mar 8 16:02:37 CET 2010


Martin Storsj? <martin at martin.st> writes:

> On Mon, 8 Mar 2010, M?ns Rullg?rd wrote:
>
>> How does sys/signal.h end up being included?  None of our headers go 
>> anywhere near it.
>
> It gets included through this path:
>
> In file included from 
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/sys/wait.h:110,
>                  from 
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdlib.h:64,
>                  from ./libavutil/common.h:35,
>                  from ./libavutil/bswap.h:31,
>                  from ./libavutil/intreadwrite.h:24,
>                  from ./libavcodec/dsputil.h:33,
>                  from libavcodec/ppc/dsputil_altivec.h:27,
>                  from libavcodec/ppc/check_altivec.c:26:
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/sys/signal.h:66:2: error: 
> #error foo
>
>> Does moving the "" includes down after the <> ones help?
>
> Doh, /me hangs his head in shame. Yes, that works just as well. That's a 
> _much_ cleaner fix.

Feel free to commit that then.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list