This shuts up the implicit declaration warning in test_main.c :
--- config_h.in~ Fri Feb 1 07:39:42 2002
+++ config_h.in Fri Feb 1 07:40:06 2002
@@ -51,9 +51,10 @@
#define INTVAL_FMT "${intvalfmt}"
#define FLOATVAL_FMT "${floatvalfmt}"
+#endif
+
${headers}
-#endif
#define PARROT_VERSION "${VERSION}"
#define PARROT_MAJOR_VERSION ${MAJOR}
--- test_main.c~ Fri Feb 1 07:28:22 2002
+++ test_main.c Fri Feb 1 07:35:30 2002
@@ -12,6 +12,11 @@
#include "parrot/embed.h"
#include <stdio.h>
+#include "parrot/config.h"
+#ifdef HAS_HEADER_STDLIB
+# include <stdlib.h>
+#endif
+
#define setopt(flag) Parrot_setflag(interpreter, flag, (*argv)[0]+2);
char *
/J\
--
Jonathan Stowe |
<http://www.gellyfish.com> | This space for rent
|