changeset 74658:416faa663fc5

[STDC_HEADERS]: Include stdlib.h.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 16 Dec 2006 12:45:59 +0000
parents 01df1e874f91
children 56797b379afd
files src/prefix-args.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/prefix-args.c	Sat Dec 16 12:31:22 2006 +0000
+++ b/src/prefix-args.c	Sat Dec 16 12:45:59 2006 +0000
@@ -44,6 +44,14 @@
    If I can't write a completely portable program to do this in C,
    I'm quitting and taking up gardening.  */
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#if STDC_HEADERS
+# include <stdlib.h>		/* for proper declaration of `exit' */
+#endif
+
 #include <stdio.h>
 
 int