Rationalised use of #includes to be more standards-compliant.
authordtrg <none@none>
Wed, 26 Jul 2006 17:10:30 +0000 (17:10 +0000)
committerdtrg <none@none>
Wed, 26 Jul 2006 17:10:30 +0000 (17:10 +0000)
lang/m2/comp/chk_expr.c
lang/m2/comp/def.c
lang/m2/comp/input.c
lang/m2/comp/program.g
lang/m2/comp/walk.c

index 25f0f2d..d9a39c3 100644 (file)
@@ -12,6 +12,8 @@
 /*     Check expressions, and try to evaluate them as far as possible.
 */
 
+#include   <stdlib.h>
+#include   <string.h>
 #include       "debug.h"
 
 #include       <em_arith.h>
index 32074ea..711f2d7 100644 (file)
@@ -9,6 +9,8 @@
 
 /* $Id$ */
 
+#include   <stdlib.h>
+#include   <string.h>
 #include       "debug.h"
 
 #include       <alloc.h>
index 05ce582..4c516a4 100644 (file)
@@ -9,6 +9,9 @@
 
 /* $Id$ */
 
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
 #include       "f_info.h"
 struct f_info  file_info;
 #include       "input.h"
index a83b8a1..abc75bd 100644 (file)
@@ -10,6 +10,8 @@
 /* $Id$ */
 
 {
+#include    <stdlib.h>
+#include    <string.h>
 #include       "debug.h"
 
 #include       <alloc.h>
index 05110be..c79daed 100644 (file)
@@ -13,6 +13,8 @@
        code for these parts.
 */
 
+#include   <stdlib.h>
+#include   <string.h>
 #include       "debug.h"
 
 #include       <em_arith.h>