This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: make errors with current cvs
- From: Per Bothner <per at bothner dot com>
- To: "Robert D. Skeels" <athene at earthlink dot net>
- Cc: Kawa List <kawa at sources dot redhat dot com>
- Date: Mon, 04 Feb 2002 13:34:43 -0800
- Subject: Re: make errors with current cvs
- References: <B87D6A69.867F%athene@earthlink.net>
Robert D. Skeels wrote:
> kawapath.c: In function `get_classpath':
> kawapath.c:21: `R_OK' undeclared (first use in this function)
> kawapath.c:21: (Each undeclared identifier is reported only once
> kawapath.c:21: for each function it appears in.)
> make[1]: *** [kawapath.o] Error 1
Does the appended patch fix it? (I'm not sure wher R_OK is
supposed to be.)
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/
Index: kawapath.c
===================================================================
RCS file: /cvs/kawa/kawa/bin/kawapath.c,v
retrieving revision 1.1
diff -u -r1.1 kawapath.c
--- kawapath.c 2002/01/30 04:50:42 1.1
+++ kawapath.c 2002/02/04 21:33:21
@@ -1,6 +1,6 @@
#include <stdio.h>
-#include <fcntl.h>
#include <stdlib.h>
+#include <unistd.h>
#ifndef GCJ_COMPILED
char *kawalib = KAWALIB;