Include errno.h when build on cygwin. Closes #87
parent
87dbce4730
commit
2a2faeaf38
|
@ -5,6 +5,10 @@ package sqlite3
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#ifdef __CYGWIN__
|
||||||
|
# include <errno.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef SQLITE_OPEN_READWRITE
|
#ifndef SQLITE_OPEN_READWRITE
|
||||||
# define SQLITE_OPEN_READWRITE 0
|
# define SQLITE_OPEN_READWRITE 0
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue