From 8aeeb2ced89bafbce7be496375cd8cfa59431a72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Tue, 19 Nov 1996 01:35:25 -0800 Subject: [PATCH] now it compiles on solaris too Rev: src/interpret.c:1.11 Rev: src/modules/spider/sharedmem.c:1.6 Rev: src/program.c:1.9 --- src/interpret.c | 3 ++- src/modules/spider/sharedmem.c | 1 + src/program.c | 5 +++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/interpret.c b/src/interpret.c index 7b70d411a8..74b85e3b5b 100644 --- a/src/interpret.c +++ b/src/interpret.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: interpret.c,v 1.10 1996/11/18 23:12:31 hubbe Exp $"); +RCSID("$Id: interpret.c,v 1.11 1996/11/19 09:35:22 hubbe Exp $"); #include "interpret.h" #include "object.h" #include "program.h" @@ -29,6 +29,7 @@ RCSID("$Id: interpret.c,v 1.10 1996/11/18 23:12:31 hubbe Exp $"); #include "callback.h" #include <fcntl.h> +#include <errno.h> #ifdef HAVE_MMAP #ifdef HAVE_SYS_TYPES_H diff --git a/src/modules/spider/sharedmem.c b/src/modules/spider/sharedmem.c index 2184b9baf5..ff34bbf639 100644 --- a/src/modules/spider/sharedmem.c +++ b/src/modules/spider/sharedmem.c @@ -1,5 +1,6 @@ #include "global.h" #include <sys/types.h> +#include <errno.h> #ifdef HAVE_THREAD_H # include <thread.h> diff --git a/src/program.c b/src/program.c index a55a05ced2..7d509775da 100644 --- a/src/program.c +++ b/src/program.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: program.c,v 1.8 1996/11/18 23:12:32 hubbe Exp $"); +RCSID("$Id: program.c,v 1.9 1996/11/19 09:35:24 hubbe Exp $"); #include "program.h" #include "object.h" #include "dynamic_buffer.h" @@ -22,7 +22,8 @@ RCSID("$Id: program.c,v 1.8 1996/11/18 23:12:32 hubbe Exp $"); #include "main.h" #include "gc.h" #include "threads.h" -#include <stdio.h> + +#include <errno.h> #include <fcntl.h> #define FILE_STATE -- GitLab