include: [c.h] Include stdlib.h unconditionaly

No point in hiding it down in an ifdef maze,
as it may get used by exit(3).

Signed-off-by: maximilian attems <max@stro.at>
This commit is contained in:
maximilian attems 2011-07-31 12:47:20 +02:00 committed by Karel Zak
parent 4b2b671697
commit 4d49851351
1 changed files with 1 additions and 1 deletions

View File

@ -9,6 +9,7 @@
#include <stdint.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
@ -109,7 +110,6 @@ extern char *__progname;
# define program_invocation_short_name __progname
# else
# ifdef HAVE_GETEXECNAME
# include <stdlib.h>
# define program_invocation_short_name \
prog_inv_sh_nm_from_file(getexecname(), 0)
# else