[MPlayer-users] Compilation error 'conflicting types for 'swab'

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Apr 19 10:37:52 CEST 2011


turbos10 <turbos11 <at> gmail.com> writes:

> On 4/18/11, Carl Eugen Hoyos <cehoyos <at> ag.or.at> wrote:
> > Does the following line after the 'define_statement_check' line in the
> > 'echocheck "swab()"' section help?
> > define_statement_check "A A" "string.h" 'int a, b; swab(&a, &b, 0)' &&
> > _swab=yes
> 
> I replace  unistd.h to string.h in configure and it work.

Sorry, that was not exactly what I asked:
Does it still work if you replace "_XOPEN_SOURCE 600" with "A A"?
(Is the  _XOPEN_SOURCE define necessary?)

Carl Eugen



More information about the MPlayer-users mailing list