Skip to content

Commit 1c5a24a

Browse files
author
J. Scott Berg
committed
Include header needed for _mkdir on msys2
1 parent a66c54f commit 1c5a24a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mad_port.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#ifdef __MINGW32__
1010
// problem with unistd compliance on Cygwin
1111
typedef long long off64_t;
12+
// For Windows _mkdir
13+
#include <direct.h>
1214
#endif
1315

1416
#ifdef _WIN32

0 commit comments

Comments
 (0)