This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: make errors with current cvs


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;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]