include io.h when using vc++ (requested for _open())

SVN revision: 39100
This commit is contained in:
Vincent Torri 2009-02-19 20:03:58 +00:00
parent 6b19ce16aa
commit a42a91cebc
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ extern "C" {
#ifdef _MSC_VER
#include <io.h>
#define F_OK 0 /* Check for file existence */
#define X_OK 1 /* MS access() doesn't check for execute permission. */
#define W_OK 2 /* Check for write permission */