GNOME Bugzilla – Bug 156075
gtkiconcache.c: define MAP_FAILED and include io.h
Last modified: 2004-12-22 21:47:04 UTC
Please describe the problem: gtkiconcache.c has two problems. 1. When gtkiconcache.c doesn't include sys/mman.h, it uses MAP_FAILED. So it is necessary to define MAP_FAILED. 2. On Windows, io.h is needed for using function "open". Steps to reproduce: 1. compile by Visual C++ Actual results: error occur Expected results: Does this happen every time? every time Other information:
Created attachment 32885 [details] [review] win32 patch for gtkiconcache.c
2004-10-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconcache.c: Include io.h on windows. (#156075, Kazuki IWAMOTO)