After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 156500 - io.h is needed in gkeyfile.c.
io.h is needed in gkeyfile.c.
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: win32
2.5.x
Other All
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-win32 maintainers
Depends on:
Blocks:
 
 
Reported: 2004-10-26 18:22 UTC by Kazuki Iwamoto
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2004-10-26 18:22:59 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:
Comment 1 Matthias Clasen 2004-10-27 05:14:47 UTC
2004-10-27  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c: Fix includes. (#156500, #156499, 
	Kazuki IWAMOTO)