[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Bug: compile error on misc3d.c
From: |
Joern Thyssen |
Subject: |
Re: [Bug-gnubg] Bug: compile error on misc3d.c |
Date: |
Sat, 17 Apr 2004 06:51:45 +0000 |
User-agent: |
Mutt/1.4.2.1i |
On Sat, Apr 17, 2004 at 07:37:16AM +0200, Achim Mueller wrote
> Hi all,
>
> I get an error while compiling cvs:
>
> misc3d.c: In function `FindTexture':
> misc3d.c:286: error: `R_OK' undeclared (first use in this function)
> misc3d.c:286: error: (Each undeclared identifier is reported only
> once
> misc3d.c:286: error: for each function it appears in.)
> make[2]: *** [misc3d.o] Fehler 1
Try adding unistd.h:
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
> And before I had to change misc3d.c (line 28, #include <io.h>),
> because it couldn't find io.h.
Perhaps io.h should only be included for windows?
Jørn
pgpy5FaksRAHK.pgp
Description: PGP signature