Skip to content

Commit

Permalink
Merge pull request #46 from spracing/msys2-fixes-1
Browse files Browse the repository at this point in the history
Allow building 'blackbox_decode' on msys2.
  • Loading branch information
haslinghuis authored Sep 19, 2023
2 parents c5b9d89 + d37cb1b commit c4391bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#include <stdlib.h>
#include <ctype.h>
#include <assert.h>
#if defined(__MINGW64__) || defined(__MINGW32__)
#include <time.h>
#endif

#include "parser.h"
#include "tools.h"
Expand Down
4 changes: 4 additions & 0 deletions src/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
#include <sys/stat.h>
#endif

#if defined(__MINGW64__) || defined(__MINGW32__)
#include <sys/stat.h>
#endif

#ifdef WIN32
#define snprintf _snprintf
#endif
Expand Down

0 comments on commit c4391bd

Please sign in to comment.