From 02fcdec6b7caaeff4239f2549b1c3733de4ff3bd Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sun, 3 Nov 2002 21:21:13 +0000 Subject: [PATCH] Fix win32 build. --- ext/gd/libgd/gdft.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/gd/libgd/gdft.c b/ext/gd/libgd/gdft.c index 8345c78894..0a1e145a75 100644 --- a/ext/gd/libgd/gdft.c +++ b/ext/gd/libgd/gdft.c @@ -17,8 +17,12 @@ #else #include #endif + #ifdef WIN32 extern int access(const char *pathname, int mode); +#ifndef R_OK +#define R_OK 2 +#endif #endif /* number of antialised colors for indexed bitmaps */ -- 2.50.1