Skip to content

Commit 8f0ac61

Browse files
committed
Fix implicit declaration of stat in mingw.
1 parent ff9a0d4 commit 8f0ac61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎source/bmserial.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@
2828
# include <io.h>
2929
# include <malloc.h>
3030
# if defined __MINGW32__ || defined __MINGW64__
31+
# include <sys/stat.h>
3132
# include "strlcpy.h"
3233
# elif defined _MSC_VER
34+
# include <sys/stat.h>
3335
# include "strlcpy.h"
3436
# define access(p,m) _access((p),(m))
3537
# endif

0 commit comments

Comments
 (0)