[vlc-devel] [PATCH] Add missing 'environ' declaration (fix build on FreeBSD)

Rafael Carre rafael.carre at gmail.com
Sat Oct 31 22:49:47 CET 2009


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;

I'm not sure where it is declared on Linux so I prefer to send the
patch for review

-- 
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-missing-environ-declaration-fix-build-on-FreeBSD.patch
Type: text/x-patch
Size: 849 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091031/dd75406a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091031/dd75406a/attachment.sig>


More information about the vlc-devel mailing list