Add missing standard header includes spotted by gcc 4

This commit is contained in:
mainzelm 2006-03-22 08:35:14 +00:00
parent 6abcd34721
commit 2ec9c3d879
5 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> /* memcpy, strlen */
#include "c-mods.h" #include "c-mods.h"
#include "write-barrier.h" #include "write-barrier.h"

View File

@ -13,6 +13,7 @@
"../scheme/vm/gc-package-defs.scm") "../scheme/vm/gc-package-defs.scm")
's48-heap-init 's48-heap-init
"../scheme/vm/scheme48heap.c" "../scheme/vm/scheme48heap.c"
'(header "#include \"scheme48vm.h\"") '(header "#include <string.h>")
'(header "#include \"scheme48vm.h\"")
;'(copy (heap walk-over-type-in-area)) ;'(copy (heap walk-over-type-in-area))
'(integrate (real-copy-object s48-trace-locations!))))) '(integrate (real-copy-object s48-trace-locations!)))))

View File

@ -4,6 +4,7 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include "scheme48.h" #include "scheme48.h"
#include "libscsh.h" #include "libscsh.h"
#include "sysdep.h" #include "sysdep.h"

View File

@ -37,6 +37,7 @@
#include <errno.h> #include <errno.h>
#include <unistd.h> #include <unistd.h>
#include <stdlib.h>
#ifndef VM #ifndef VM
#define VM "/usr/local/lib/scsh/scshvm" #define VM "/usr/local/lib/scsh/scshvm"

View File

@ -3,7 +3,7 @@
#include "scsh_aux.h" #include "scsh_aux.h"
#include <signal.h> #include <signal.h>
#include <stdio.h>
int main(int argc, char* argv[]){ int main(int argc, char* argv[]){
int signr = atoi(argv[1]); int signr = atoi(argv[1]);