[Pkg-alsa-devel] Bug#591481: Bug#591481: libasound2-dev: /usr/include/alsa/global.h:137: error: redefinition of ???struct timeval???

Elimar Riesebieter riesebie at lxtec.de
Tue Aug 3 17:18:20 UTC 2010


* John Lindgren [100803 09:22 -0400]:
> Package: libasound2-dev
> Version: 1.0.23-1
> Severity: normal
> 
> With -std=c99 and -D_BSD_SOURCE, there is a conflict between time.h and
> alsa/global.h.
> 
> #include <time.h>
> #include <alsa/asoundlib.h>
> 
> $ gcc -c -std=c99 -D_BSD_SOURCE -Wall test.c
> In file included from /usr/include/alsa/asoundlib.h:44,
>                  from test.c:2:
> /usr/include/alsa/global.h:137: error: redefinition of ???struct timeval???
> /usr/include/alsa/global.h:142: error: redefinition of ???struct timespec???

So what do you expect Debian Alsa maintainers can do at this point?

Elimar

-- 
  Do you smell something burning or ist it me?





More information about the Pkg-alsa-devel mailing list