[vlc-devel] [PATCH] Add missing 'environ' declaration (fix build on FreeBSD)
Rémi Denis-Courmont
remi at remlab.net
Sat Oct 31 23:08:51 CET 2009
Le samedi 31 octobre 2009 23:49:47 Rafael Carre, vous avez écrit :
> Hi,
>
> /media/bordel/vlc/modules/misc/xdg-screensaver.c:104: error:
> 'environ' undeclared (first use in this function)
>
> On FreeBSD, man 7 environ says:
>
> SYNOPSIS
> extern char **environ;
Are extern declaration inside functions legal (outside GNU C)?
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list