Include errno.h when build on cygwin. Closes #87

systemlib
mattn 2013-10-02 12:50:50 +09:00
parent 87dbce4730
commit 2a2faeaf38
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@ package sqlite3
#include <stdlib.h>
#include <string.h>
#ifdef __CYGWIN__
# include <errno.h>
#endif
#ifndef SQLITE_OPEN_READWRITE
# define SQLITE_OPEN_READWRITE 0
#endif