[MPlayer-dev-eng] [PATCH]Include stdlib from sdl_common.c

Alexander Strasser eclipse7 at gmx.net
Wed Jul 25 00:39:43 CEST 2012


Hi all,

Reimar Döffinger wrote:
> On 24 Jul 2012, at 09:35, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> > sdl_common.c uses setenv() which needs stdlib.h.
> 
> I believe that include belongs into osdep/setenv.h (not sure whether unconditionally or under if is better).

  I could not really test it as I guess things get pulled in from
somewhere else on my system. But maybe attached patch is what you
meant. I still need to double-check stdlib.h is not really needed
for somthing else in those files. 

  Alexander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-sdl-missing-stdlib-includes-for-setenv.diff
Type: text/x-diff
Size: 774 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20120725/55188cbb/attachment.bin>


More information about the MPlayer-dev-eng mailing list