A number of includes were missing for exit/getenv/memcpy/strlen/... Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>