GNOME Bugzilla – Bug 156500
io.h is needed in gkeyfile.c.
Last modified: 2004-12-22 21:47:04 UTC
Please describe the problem: On Windows, io.h is needed for using functions "open", "read" and "close". Please add the following. #ifdef G_OS_WIN32 #include <io.h> #endif Steps to reproduce: 1. compile by Visual C++ Actual results: an error occurs Expected results: #include <io.h> Does this happen every time? every time Other information:
2004-10-27 Matthias Clasen <mclasen@redhat.com> * glib/gkeyfile.c: Fix includes. (#156500, #156499, Kazuki IWAMOTO)