Add missing standard header includes spotted by gcc 4
This commit is contained in:
parent
6abcd34721
commit
2ec9c3d879
|
@ -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"
|
||||||
|
|
|
@ -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!)))))
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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]);
|
||||||
|
|
Loading…
Reference in New Issue