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).