| index 3e4e898..ab1390f 100644 | ||
| --- a/src/graph.c | ||
| +++ b/src/graph.c | ||
| @@ -47,6 +47,7 @@ | ||
| 47 | 47 | # include <windows.h> |
| 48 | 48 | # include <direct.h> |
| 49 | 49 | # include <io.h> |
| 50 | +# include <fcntl.h> /* _O_CREAT/_O_EXCL/_O_WRONLY/_O_BINARY on MinGW */ | |
| 50 | 51 | # include <sys/stat.h> |
| 51 | 52 | # include <sys/types.h> |
| 52 | 53 | #else |
| 53 | 54 |
| index 3e4e898..ab1390f 100644 | index 3e4e898..ab1390f 100644 | ||
| --- a/src/graph.c | --- a/src/graph.c | ||
| +++ b/src/graph.c | +++ b/src/graph.c | ||
| @@ -47,6 +47,7 @@ | @@ -47,6 +47,7 @@ | ||
| 47 | # include <windows.h> | 47 | # include <windows.h> |
| 48 | # include <direct.h> | 48 | # include <direct.h> |
| 49 | # include <io.h> | 49 | # include <io.h> |
| 50 | +# include <fcntl.h> /* _O_CREAT/_O_EXCL/_O_WRONLY/_O_BINARY on MinGW */ | ||
| 50 | # include <sys/stat.h> | 51 | # include <sys/stat.h> |
| 51 | # include <sys/types.h> | 52 | # include <sys/types.h> |
| 52 | #else | 53 | #else |
| 53 | 54 |