Need <io.h> for open() and close().

2001-01-27  Tor Lillqvist  <tml@iki.fi>

	* gmodule.c: (Win32) Need <io.h> for open() and close().

2001-01-27  Tor Lillqvist  <tml@iki.fi>

	* makefile.msc.in: Don't try to compile gmarshal.c on its own.
This commit is contained in:
Tor Lillqvist
2001-01-27 15:07:03 +00:00
committed by Tor Lillqvist
parent 388454cc3b
commit cd888afb5a
4 changed files with 15 additions and 1 deletions

View File

@@ -41,6 +41,9 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#if defined (G_OS_WIN32)
# include <io.h> /* For open() and close() prototypes. */
#endif
/* We maintain a list of modules, so we can reference count them.
* That's needed because some platforms don't support refernce counts on